+++ This bug was initially created as a clone of Bug #980372 +++
+++ This bug was initially created as a clone of Bug #905322 +++
Test script. You will need 'minimal' from
and note that you have to uncomment only *one* of the three hivex-commit
lines in the script.
guestfish -x -N fs -m /dev/sda1 <<EOF
upload /mnt/scratch/minimal /minimal
hivex-open /minimal write:true
The first case (NULL) should always succeed and it does.
The second case (absolute path "/minimal") should succeed
and it does.
The third case (relative path "minimal") should fail because
relative paths shouldn't be allowed. It doesn't fail, so that is
Tested on libguestfs-1.23.7-1.fc20.x86_64