btrfs-progs: tests: add shell quoting to fuzz test scripts
[platform/upstream/btrfs-progs.git] / tests / fuzz-tests / 006-simple-tree-stats / test.sh
index c3410b0..cb82e2c 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-source $TOP/tests/common
+source "$TEST_TOP/common"
 
 setup_root_helper
 check_prereq btrfs
@@ -10,9 +10,9 @@ check_image() {
        local image
 
        image=$1
-       run_mayfail $TOP/btrfs inspect-internal tree-stats "$image"
+       run_mayfail "$TOP/btrfs" inspect-internal tree-stats "$image"
 }
 
-check_all_images $TOP/tests/fuzz-tests/images
+check_all_images "$TEST_TOP/fuzz-tests/images"
 
 exit 0