fstests: don't _require_metadata_journaling before _scratch_mkfs
PATCH 1/1 fstests: don't _require_metadata_journaling before _scratch_mkfs
This is obviously wrong and makes ./check -r skip over tests on ext4 with "ext4 on $DEV not configured with metadata journaling".
Signed-off-by Ilya Dryomov <[email protected]>
--- tests/btrfs/095 | 2 +- tests/btrfs/098 | 2 +- tests/btrfs/118 | 2 +- tests/btrfs/119 | 2 +- tests/btrfs/120 | 2 +- tests/ext4/021 | 2 +- tests/generic/034 | 3 +-- tests/generic/039 | 3 +-- tests/generic/040 | 2 +- tests/generic/041 | 2 +- tests/generic/056 | 2 +- tests/generic/057 | 2 +- tests/generic/059 | 2 +- tests/generic/065 | 2 +- tests/generic/066 | 2 +- tests/generic/073 | 2 +- tests/generic/090 | 2 +- tests/generic/101 | 2 +- tests/generic/104 | 2 +- tests/generic/106 | 2 +- tests/generic/107 | 2 +- tests/generic/177 | 2 +- tests/generic/311 | 2 +- tests/generic/321 | 2 +- tests/generic/322 | 2 +- tests/generic/325 | 3 +-- tests/generic/335 | 2 +- tests/generic/336 | 2 +- tests/generic/341 | 2 +- tests/generic/342 | 2 +- tests/generic/343 | 2 +- tests/generic/348 | 2 +- tests/generic/376 | 2 +- tests/shared/002 | 2 +- 34 files changed, 34 insertions(+), 37 deletions(-)
tests/btrfs/095 +1 -1
@@ -53,12 +53,12 @@ _supported_os Linux _require_scratch _require_dm_target flakey _require_cloner -_require_metadata_journaling $SCRATCH_DEV _require_xfs_io_command "falloc" rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/btrfs/098 +1 -1
@@ -49,11 +49,11 @@ _supported_os Linux _require_scratch _require_dm_target flakey _require_cloner -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/btrfs/118 +1 -1
@@ -49,11 +49,11 @@ _supported_fs btrfs _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/btrfs/119 +1 -1
@@ -48,11 +48,11 @@ _supported_fs btrfs _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/btrfs/120 +1 -1
@@ -50,7 +50,6 @@ _supported_fs btrfs _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full
@@ -64,6 +63,7 @@ populate_testdir() } _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/ext4/021 +1 -1
@@ -48,11 +48,11 @@ _supported_fs ext4 _supported_os Linux _require_scratch _require_dumpe2fs -_require_metadata_journaling $SCRATCH_DEV # 8M in bytes fssize=$((8 * 1024 * 1024)) _scratch_mkfs_sized $fssize >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV blocksize=`$DUMPE2FS_PROG -h $SCRATCH_DEV 2>/dev/null | grep "Block size" | \ awk '{print $3}'`
tests/generic/034 +1 -2
@@ -52,12 +52,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 - +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/039 +1 -2
@@ -56,12 +56,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 - +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/040 +1 -1
@@ -61,7 +61,6 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full
@@ -74,6 +73,7 @@ else _scratch_mkfs >> $seqres.full 2>&1 fi +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/041 +1 -1
@@ -65,7 +65,6 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full
@@ -78,6 +77,7 @@ else _scratch_mkfs >> $seqres.full 2>&1 fi +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/056 +1 -1
@@ -54,11 +54,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/057 +1 -1
@@ -54,11 +54,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/059 +1 -1
@@ -59,12 +59,12 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV _require_xfs_io_command "fpunch" rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/065 +1 -1
@@ -55,11 +55,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/066 +1 -1
@@ -60,11 +60,11 @@ _supported_os Linux _require_scratch _require_dm_target flakey _require_attrs -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/073 +1 -1
@@ -55,11 +55,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/090 +1 -1
@@ -53,11 +53,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/101 +1 -1
@@ -51,7 +51,6 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV # This test was motivated by an issue found in btrfs when the btrfs no-holes # feature is enabled (introduced in kernel 3.14). So enable the feature if the
@@ -65,6 +64,7 @@ fi rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/104 +1 -1
@@ -49,11 +49,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/106 +1 -1
@@ -48,11 +48,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/107 +1 -1
@@ -51,11 +51,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/177 +1 -1
@@ -54,11 +54,11 @@ _require_scratch _require_xfs_io_command "fpunch" _require_xfs_io_command "fiemap" _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/311 +1 -1
@@ -56,7 +56,6 @@ _supported_os Linux _require_scratch_nocheck _require_odirect _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV # xfs_io is not required for this test, but it's the best way to verify # the test system supports fallocate() for allocation
@@ -97,6 +96,7 @@ _run_test() } _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV # Create a basic flakey device that will never error out _init_flakey
tests/generic/321 +1 -1
@@ -44,7 +44,6 @@ _supported_fs generic _supported_os Linux _require_scratch_nocheck _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full
@@ -118,6 +117,7 @@ _replay_rename_test() } _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV # Create a basic flakey device that will never error out _init_flakey
tests/generic/322 +1 -1
@@ -44,7 +44,6 @@ _supported_fs generic _supported_os Linux _require_scratch_nocheck _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full
@@ -93,6 +92,7 @@ _write_after_fsync_rename_test() } _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV # Create a basic flakey device that will never error out _init_flakey
tests/generic/325 +1 -2
@@ -54,12 +54,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 - +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/335 +1 -1
@@ -49,11 +49,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/336 +1 -1
@@ -50,11 +50,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/341 +1 -1
@@ -50,11 +50,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/342 +1 -1
@@ -50,11 +50,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/343 +1 -1
@@ -50,11 +50,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/348 +1 -1
@@ -50,11 +50,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/generic/376 +1 -1
@@ -50,11 +50,11 @@ _supported_fs generic _supported_os Linux _require_scratch _require_dm_target flakey -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >>$seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
tests/shared/002 +1 -1
@@ -60,11 +60,11 @@ _supported_os Linux _require_scratch _require_dm_target flakey _require_attrs -_require_metadata_journaling $SCRATCH_DEV rm -f $seqres.full _scratch_mkfs >> $seqres.full 2>&1 +_require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey
Signature · 1 line
2.4.3