common: Check the file system consistency on SCRATCH_DEV
authorLukas Czerner <lczerner@redhat.com>
Wed, 13 Aug 2014 01:01:04 +0000 (11:01 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 01:01:04 +0000 (11:01 +1000)
commitab1d756fe11dec8a2b561fbfd4eca5c1bcf95449
tree06344147c59fea8097a5e6c79a83dca0bdbbfd44
parentddd55d55a7dca55e8a8475d926131515a389feab
common: Check the file system consistency on SCRATCH_DEV

There are about 198 tests which requires scratch_dev, but does not check
the file system consistency afterwards. Xfstests infrastructure does not
do it automatically, so fix it by running _check_scratch_fs() after
each test that _require_scratch.

Also remove all the _check_scratch_fs() calls that are not actually needed
and will be covered by the check script.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
61 files changed:
check
common/rc
tests/btrfs/024
tests/btrfs/043
tests/btrfs/044
tests/btrfs/045
tests/btrfs/046
tests/btrfs/047
tests/btrfs/048
tests/btrfs/050
tests/btrfs/051
tests/btrfs/053
tests/btrfs/054
tests/ext4/271
tests/ext4/301
tests/ext4/302
tests/ext4/303
tests/ext4/304
tests/generic/009 [changed mode: 0644->0755]
tests/generic/019
tests/generic/026 [changed mode: 0644->0755]
tests/generic/027
tests/generic/068
tests/generic/076
tests/generic/083
tests/generic/097
tests/generic/099
tests/generic/100
tests/generic/117
tests/generic/124
tests/generic/204
tests/generic/269
tests/generic/270
tests/generic/273
tests/generic/299
tests/generic/300
tests/generic/312
tests/generic/315 [changed mode: 0644->0755]
tests/generic/320
tests/generic/321 [changed mode: 0644->0755]
tests/generic/322 [changed mode: 0644->0755]
tests/shared/006
tests/shared/272
tests/xfs/010
tests/xfs/011
tests/xfs/013
tests/xfs/014
tests/xfs/019
tests/xfs/019.out
tests/xfs/034
tests/xfs/042
tests/xfs/042.out
tests/xfs/085
tests/xfs/085.out
tests/xfs/104
tests/xfs/110
tests/xfs/121
tests/xfs/181
tests/xfs/278
tests/xfs/297
tests/xfs/306