btrfs-progs: convert tests: preserve test image permissions
authorDavid Sterba <dsterba@suse.cz>
Tue, 7 Apr 2015 16:09:18 +0000 (18:09 +0200)
committerDavid Sterba <dsterba@suse.cz>
Tue, 7 Apr 2015 16:36:55 +0000 (18:36 +0200)
commit35d53302ac961d8d7706318f9d6d12282f712703
tree96ac43efaa97adced8259926e2adf6a6f6af0766
parent96563f961c6a7fede89dc85cdeaec2158bbc66e8
btrfs-progs: convert tests: preserve test image permissions

If the test image is eg. on NFS it's not writable for root, so chmod
0777 fixes that but then we must not delete the file.

Signed-off-by: David Sterba <dsterba@suse.cz>
tests/convert-tests.sh