xfs: Fix the situation that mount operation rejects corrupted XFS
[xfstests-dev.git] / tests / xfs / 235
index 97db55cc4bd8ea5e4b468228b600a05b355ba8a6..669f58b004f998e0ba75cfdf8a1abef2ca3a8a93 100755 (executable)
@@ -61,10 +61,9 @@ seq 0 $((agcount - 1)) | while read ag; do
                >> $seqres.full 2>&1
 done
 
-echo "+ mount image"
+echo "+ mount image && copy more"
 if _try_scratch_mount >> $seqres.full 2>&1; then
 
-       echo "+ copy more"
        $XFS_IO_PROG -f -c "pwrite -S 0x63 0 $((blksz * 64))" -c "fsync" ${SCRATCH_MNT}/file4 >> $seqres.full 2>&1
        test -s ${SCRATCH_MNT}/file4 && _fail "should not be able to copy with busted rmap btree"
        umount ${SCRATCH_MNT}