xfs: Fix the situation that mount operation rejects corrupted XFS
[xfstests-dev.git] / tests / xfs / 337
index 37898ad974630ce9645ce62a0b16e67b8a94644f..db1b4a2bbe549f2b9679db0abb4ab382c3168177 100755 (executable)
@@ -70,10 +70,9 @@ _scratch_xfs_db -x -c "sb" -c "addr rrmapino" -c "addr u3.rtrmapbt.ptrs[1]" \
        -c "stack" -c "blocktrash -x 4096 -y 4096 -n 8 -3 -z" \
        >> $seqres.full 2>&1
 
-echo "+ mount image"
+echo "+ mount image && copy more"
 if _try_scratch_mount >> $seqres.full 2>&1; then
 
-       echo "+ copy more"
        $XFS_IO_PROG -f -R -c "pwrite -S 0x68 0 1" $SCRATCH_MNT/e3 >> $seqres.full 2>&1
        test -s ${SCRATCH_MNT}/f3 && echo "should not be able to copy with busted rtrmap btree"
        _scratch_unmount