fstests: _fail test by default when _scratch_mount fails
[xfstests-dev.git] / common / fuzzy
index b964fd8cb0fc0d0cab8629bb11c15a18e3e0a5b9..f89765c1bfd2ac5f4232b87f1f959970eb617d27 100644 (file)
@@ -200,7 +200,7 @@ __scratch_xfs_fuzz_field_test() {
 
        # Try to catch the error with scrub
        echo "+ Try to catch the error"
-       _scratch_mount 2>&1
+       _try_scratch_mount 2>&1
        res=$?
        if [ $res -eq 0 ]; then
                # Try an online scrub unless we're fuzzing ag 0's sb,
@@ -245,7 +245,7 @@ __scratch_xfs_fuzz_field_test() {
 
        # See if scrub finds a clean fs
        echo "+ Make sure error is gone (online)"
-       _scratch_mount 2>&1
+       _try_scratch_mount 2>&1
        res=$?
        if [ $res -eq 0 ]; then
                # Try an online scrub unless we're fuzzing ag 0's sb,