diff options
author | David Sterba <dsterba@suse.com> | 2017-03-13 18:07:28 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-03-16 17:02:44 +0100 |
commit | c2d3f549960e3a21196dc535e123b709abd55f34 (patch) | |
tree | 98ae885082221602f059d598f79ab223a64d8187 /tests/misc-tests/017-recv-stream-malformatted | |
parent | d4eb5a77d7a29419f625d4ed0b4c828bb49eba57 (diff) |
btrfs-progs: tests: cleanup use of IMAGE and replace by helpers
Nearly each use of IMAGE can be replaced by common helpers as there are
no specific requirements on the testing filesystem. There are still a
few left that need to be evaluated and converted eventually.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/misc-tests/017-recv-stream-malformatted')
-rwxr-xr-x | tests/misc-tests/017-recv-stream-malformatted/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc-tests/017-recv-stream-malformatted/test.sh b/tests/misc-tests/017-recv-stream-malformatted/test.sh index 884b7d42..3756be27 100755 --- a/tests/misc-tests/017-recv-stream-malformatted/test.sh +++ b/tests/misc-tests/017-recv-stream-malformatted/test.sh @@ -8,9 +8,9 @@ check_prereq mkfs.btrfs check_prereq btrfs setup_root_helper -prepare_test_dev 1g -run_check $TOP/mkfs.btrfs -f $IMAGE +prepare_test_dev 1g +run_check "$TOP/mkfs.btrfs" -f "$TEST_DEV" run_check_mount_test_dev echo -n '' | run_mayfail $SUDO_HELPER "$TOP/btrfs" receive "$TEST_MNT" && |