fstests: _fail test by default when _scratch_mount fails
[xfstests-dev.git] / common / filestreams
index f5441f5a82e908b94096d277cc27e3d508df90bf..d7a656f8bc23a59a668dc84bb6f7aaf2e8d2a1aa 100644 (file)
@@ -111,11 +111,11 @@ _test_streams() {
 
        if [ "$use_iflag" = "0" ]; then
                # mount using filestreams mount option
-               _scratch_mount "-o filestreams" \
+               _try_scratch_mount "-o filestreams" \
                        || _fail "filestreams mount failed"
        else
                # test will set inode flag
-               _scratch_mount || _fail "mount failed"
+               _scratch_mount
        fi
 
        cd $SCRATCH_MNT