QA updates to enable simplified large filesystem testing
[xfstests-dev.git] / 017
diff --git a/017 b/017
index 065fe87063d918995e6c6090fb92f97f7721d3ab..0da28fe72141496b51fd24d4a8819efd75579643 100755 (executable)
--- a/017
+++ b/017
@@ -60,6 +60,9 @@ trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15
 
 _require_scratch
 
+checkopts=""
+[ "$USE_BIG_LOOPFS" = yes ] && checkopts=-t
+
 echo "*** init FS"
 
 rm -f $seq.full
@@ -90,8 +93,8 @@ do
         echo ""                             >>$seq.full
         echo "*** XFS_CHECK ***"            >>$seq.full
         echo ""                             >>$seq.full
-        xfs_check $SCRATCH_DEV              >>$seq.full 2>&1 \
-            || _fail "xfs_check failed"
+        xfs_check $checkopts $SCRATCH_DEV   >>$seq.full 2>&1 \
+            || _fail "xfs_check $checkopts failed"
         _scratch_mount -o remount,rw \
             || _fail "remount rw failed"
 done