xfs/297: fail test if _scratch_mount fails
[xfstests-dev.git] / tests / xfs / 297
index fe924413a5dcf1bef8473598c56ce237a5afe476..9accffd466d3f36a569653b6f4af13a0ff51adb6 100755 (executable)
@@ -52,7 +52,7 @@ _require_command "$KILLALL_PROG" killall
 
 rm -f $seqres.full
 _scratch_mkfs_xfs -d agcount=16,su=256k,sw=12 -l su=256k,size=5120b >/dev/null 2>&1
-_scratch_mount >/dev/null 2>&1
+_scratch_mount >>$seqres.full 2>&1 || _fail "mount failed"
 
 STRESS_DIR="$SCRATCH_MNT/testdir"
 mkdir -p $STRESS_DIR