fstests: _fail test by default when _scratch_mount fails
[xfstests-dev.git] / tests / xfs / 085
index 0c85850d2a62ce8db2e1a8fe6272f9df5b02790c..57fc47c91d80c40cd070f8c497ffae6b962b1035 100755 (executable)
@@ -88,7 +88,7 @@ echo "+ corrupt image"
 $XFS_IO_PROG -f -c "pwrite -S 0x62 32 4" "${SCRATCH_DEV}" >> $seqres.full
 
 echo "+ mount image"
-_scratch_mount 2>/dev/null && _fail "mount should not succeed"
+_try_scratch_mount 2>/dev/null && _fail "mount should not succeed"
 
 echo "+ repair fs"
 _scratch_xfs_repair >> $seqres.full 2>&1