shared,ext4: move ext4-specific tests out of shared/

The tests shared/{001,003,004,272} test behaviour around the ext4's
journal.  As such, they are pointless to run on ext2, and ext3 no
longer is in kernels newer than 4.3.  (And most enterprise
distributions have been using ext4 to support the ext3 file system;
that capability has been around since 2.6.33.)  So we can move these
tests out of shared and into the ext4 class of tests:

	shared/001 --> ext4/036
	shared/003 --> ext4/037
	shared/004 --> ext4/038
	shared/272 --> ext4/039

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Theodore Ts'o
2019-06-28 18:59:06 -04:00
committed by Eryu Guan
parent 3eb73bbda3
commit f736b1c257
13 changed files with 19 additions and 21 deletions
+3 -3
View File
@@ -2,9 +2,9 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2015 Red Hat Inc. All Rights Reserved.
#
# FS QA Test No. 001
# FS QA Test No. ext4/036
#
# Test truncate orphan inodes when mounting extN.
# Test truncate orphan inodes when mounting ext4
# ext4 used to hit WARNING, this commit fixed the issue
#
# 721e3eb ext4: lock i_mutex when truncating orphan inodes
@@ -29,7 +29,7 @@ _cleanup()
. ./common/filter
# real QA test starts here
_supported_fs ext2 ext3 ext4
_supported_fs ext3 ext4
_supported_os Linux
_require_scratch
+2
View File
@@ -0,0 +1,2 @@
QA output created by 036
Silence is golden
+2 -4
View File
@@ -2,15 +2,13 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2015 Red Hat Inc. All Rights Reserved.
#
# FS QA Test 003
# FS QA Test ext4/037
#
# Test mount a needs_recovery partition with noload option.
# ext4 used to Oops until part of this commit:
#
# 744692d ext4: use ext4_get_block_write in buffer write
#
# Also test on ext2/3.
#
seq=`basename $0`
seqres=$RESULT_DIR/$seq
echo "QA output created by $seq"
@@ -31,7 +29,7 @@ _cleanup()
. ./common/filter
# real QA test starts here
_supported_fs ext2 ext3 ext4
_supported_fs ext3 ext4
_supported_os Linux
# nofsck as we modify sb via debugfs
+2
View File
@@ -0,0 +1,2 @@
QA output created by 037
Silence is golden
+2 -2
View File
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2016 Fujitsu. All Rights Reserved.
#
# FS QA Test 004
# FS QA Test ext4/038
#
# Regression test for commit:
# c9eb13a ext4: fix hang when processing corrupted orphaned inode list
@@ -25,7 +25,7 @@ _cleanup()
. ./common/rc
# real QA test starts here
_supported_fs ext2 ext3 ext4
_supported_fs ext3 ext4
_supported_os Linux
_require_scratch
_require_command "$DEBUGFS_PROG" debugfs
+2
View File
@@ -0,0 +1,2 @@
QA output created by 038
Silence is golden
+1 -1
View File
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved.
#
# FSQA Test No. 272
# FSQA Test No. ext4/039
#
# Test data journaling flag switch for a single file
#
+1 -1
View File
@@ -1,3 +1,3 @@
QA output created by 272
QA output created by 039
Switch data journalling mode. Silence is golden.
Check filesystem
+4
View File
@@ -38,6 +38,10 @@
033 auto ioctl resize
034 auto quick quota
035 auto quick resize
036 auto quick
037 auto quick
038 auto quick
039 auto enospc rw
271 auto rw quick
301 aio auto ioctl rw stress defrag
302 aio auto ioctl rw stress defrag
-2
View File
@@ -1,2 +0,0 @@
QA output created by 001
Silence is golden
-2
View File
@@ -1,2 +0,0 @@
QA output created by 003
Silence is golden
-2
View File
@@ -1,2 +0,0 @@
QA output created by 004
Silence is golden
-4
View File
@@ -3,10 +3,7 @@
# - do not start group names with a digit
# - comment line before each group is "new" description
#
001 auto quick
002 auto metadata quick log
003 auto quick
004 auto quick
005 dangerous_fuzzers
006 auto enospc
007 dangerous_fuzzers
@@ -15,6 +12,5 @@
010 auto stress dedupe
011 auto quick
032 mkfs auto quick
272 auto enospc rw
289 auto quick
298 auto trim