xfs: Fix the situation that mount operation rejects corrupted XFS
[xfstests-dev.git] / tests / xfs / 112
index 0bd685058049d47ce4b33518d2d7ad57a4c644ae..a69e915734d5de09086aa16edf3fc380196f5639 100755 (executable)
@@ -71,10 +71,9 @@ while true; do
        loff="$((loff + 1))"
 done
 
-echo "+ mount image"
+echo "+ mount image && modify dir"
 if _try_scratch_mount >> $seqres.full 2>&1; then
 
-       echo "+ modify dir"
        rm -rf "${SCRATCH_MNT}/blockdir/00000000" 2> /dev/null && _fail "modified corrupt directory"
        mkdir "${SCRATCH_MNT}/blockdir/xxxxxxxx" 2> /dev/null && _fail "add to corrupt directory"
        umount "${SCRATCH_MNT}"