btrfs-progs: tests: fix misc/026 to run on NFS

The temporary files are not accessible if the testsuite is hosted on
NFS, pre-create them and allow writes.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2019-05-02 19:14:13 +02:00
parent cba6bae15d
commit 3fe16a10da
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ touch "$TEST_MNT/|5gp!"
run_check_umount_test_dev
run_check touch img img.restored img.dump
run_check chmod a+w img img.restored img.dump
run_check $SUDO_HELPER "$TOP/btrfs-image" -ss "$TEST_DEV" img
run_check $SUDO_HELPER "$TOP/btrfs-image" -r img img.restored
run_check_stdout $SUDO_HELPER "$TOP/btrfs" inspect-internal dump-tree img.restored > img.dump