]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
generic: relocate xfs shutdown tests into tests/generic/
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 03:20:27 +0000 (14:20 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 12 Feb 2015 03:20:27 +0000 (14:20 +1100)
This patch moves the generic testcases defined in xfs into
tests/generic/.

  xfs/053 -> generic/042
  xfs/137 -> generic/043
  xfs/138 -> generic/044
  xfs/139 -> generic/045
  xfs/140 -> generic/046
  xfs/179 -> generic/047
  xfs/180 -> generic/048
  xfs/182 -> generic/049
  xfs/200 -> generic/050
  xfs/306 -> generic/051

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
29 files changed:
tests/generic/042 [moved from tests/xfs/053 with 98% similarity]
tests/generic/042.out [moved from tests/xfs/053.out with 92% similarity]
tests/generic/043 [moved from tests/xfs/137 with 96% similarity]
tests/generic/043.out [new file with mode: 0644]
tests/generic/044 [moved from tests/xfs/138 with 96% similarity]
tests/generic/044.out [new file with mode: 0644]
tests/generic/045 [moved from tests/xfs/139 with 96% similarity]
tests/generic/045.out [new file with mode: 0644]
tests/generic/046 [moved from tests/xfs/140 with 96% similarity]
tests/generic/046.out [new file with mode: 0644]
tests/generic/047 [moved from tests/xfs/179 with 97% similarity]
tests/generic/047.out [new file with mode: 0644]
tests/generic/048 [moved from tests/xfs/180 with 97% similarity]
tests/generic/048.out [new file with mode: 0644]
tests/generic/049 [moved from tests/xfs/182 with 97% similarity]
tests/generic/049.out [new file with mode: 0644]
tests/generic/050 [moved from tests/xfs/200 with 96% similarity]
tests/generic/050.out [moved from tests/xfs/200.out with 97% similarity]
tests/generic/051 [moved from tests/xfs/306 with 98% similarity]
tests/generic/051.out [moved from tests/xfs/306.out with 60% similarity]
tests/generic/group
tests/xfs/137.out [deleted file]
tests/xfs/138.out [deleted file]
tests/xfs/139.out [deleted file]
tests/xfs/140.out [deleted file]
tests/xfs/179.out [deleted file]
tests/xfs/180.out [deleted file]
tests/xfs/182.out [deleted file]
tests/xfs/group

similarity index 98%
rename from tests/xfs/053
rename to tests/generic/042
index 6428d5c73d19756c8bcaf2f0e0af95e2df3231fd..6eecbdceec9d94c434ef070e504c255869e7f50e 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FS QA Test No. 053
+# FS QA Test No. 042
 #
 # Test stale data exposure via writeback using various file allocation
 # modification commands. The presumption is that such commands result in partial
@@ -83,7 +83,7 @@ _crashtest()
 }
 
 # Modify as appropriate.
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux
 _require_scratch
 _require_scratch_shutdown
similarity index 92%
rename from tests/xfs/053.out
rename to tests/generic/042.out
index c777fe29de48bfc58f4d76108426af6c0c52b02b..c1130e12b21924d3ffcb7477503ea3aa1c174a0f 100644 (file)
@@ -1,4 +1,4 @@
-QA output created by 053
+QA output created by 042
 falloc -k
 wrote 65536/65536 bytes at offset 0
 XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
similarity index 96%
rename from tests/xfs/137
rename to tests/generic/043
index eb9a5fabd46ea08ed7e4d979bcadad564f20bb90..47bc7662aa57df944f042ef048ae94c9173c359b 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FSQA Test No. 137
+# FSQA Test No. 043
 #
 # Test for NULL files problem
 #
@@ -36,13 +36,13 @@ trap "exit \$status" 0 1 2 3 15
 . ./common/filter
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux IRIX
 
 _require_scratch
 _require_scratch_shutdown
 _require_fiemap
-_scratch_mkfs_xfs >/dev/null 2>&1
+_scratch_mkfs >/dev/null 2>&1
 _scratch_mount
 
 # create files
@@ -103,4 +103,4 @@ do
 done
 
 status=0
-exit 
+exit
diff --git a/tests/generic/043.out b/tests/generic/043.out
new file mode 100644 (file)
index 0000000..7851fbe
--- /dev/null
@@ -0,0 +1 @@
+QA output created by 043
similarity index 96%
rename from tests/xfs/138
rename to tests/generic/044
index 809a8ee5d42eef36877491d8a7249502eef6aa80..c59aaf359aed5ed9babc9e04098f9a68c89f798a 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FSQA Test No. 138
+# FSQA Test No. 044
 #
 # Test for NULL files problem
 #
@@ -36,13 +36,13 @@ trap "exit \$status" 0 1 2 3 15
 . ./common/filter
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux IRIX
 
 _require_scratch
 _require_scratch_shutdown
 _require_fiemap
-_scratch_mkfs_xfs >/dev/null 2>&1
+_scratch_mkfs >/dev/null 2>&1
 _scratch_mount
 
 # create files
@@ -109,4 +109,4 @@ do
 done
 
 status=0
-exit 
+exit
diff --git a/tests/generic/044.out b/tests/generic/044.out
new file mode 100644 (file)
index 0000000..ef9885b
--- /dev/null
@@ -0,0 +1 @@
+QA output created by 044
similarity index 96%
rename from tests/xfs/139
rename to tests/generic/045
index de91a291a1beaa8aee997689132600b7167243cd..6c601a6d4fb85c803e78780084b3eee5938ef934 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FSQA Test No. 139
+# FSQA Test No. 045
 #
 # Test for NULL files problem
 #
@@ -36,13 +36,13 @@ trap "exit \$status" 0 1 2 3 15
 . ./common/filter
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux IRIX
 
 _require_scratch
 _require_scratch_shutdown
 _require_fiemap
-_scratch_mkfs_xfs >/dev/null 2>&1
+_scratch_mkfs >/dev/null 2>&1
 _scratch_mount
 
 # create files
@@ -109,4 +109,4 @@ do
 done
 
 status=0
-exit 
+exit
diff --git a/tests/generic/045.out b/tests/generic/045.out
new file mode 100644 (file)
index 0000000..5b0d489
--- /dev/null
@@ -0,0 +1 @@
+QA output created by 045
similarity index 96%
rename from tests/xfs/140
rename to tests/generic/046
index 4882abdd00dd88694c38dae336c5b701dcfaacb6..76993d40846a5f7b003283d63c85f2f4d2da3290 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FSQA Test No. 140
+# FSQA Test No. 046
 #
 # Test for NULL files problem
 #
@@ -36,13 +36,13 @@ trap "exit \$status" 0 1 2 3 15
 . ./common/filter
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux IRIX
 
 _require_scratch
 _require_scratch_shutdown
 _require_fiemap
-_scratch_mkfs_xfs >/dev/null 2>&1
+_scratch_mkfs >/dev/null 2>&1
 _scratch_mount
 
 # create files
@@ -106,4 +106,4 @@ do
 done
 
 status=0
-exit 
+exit
diff --git a/tests/generic/046.out b/tests/generic/046.out
new file mode 100644 (file)
index 0000000..a14e592
--- /dev/null
@@ -0,0 +1 @@
+QA output created by 046
similarity index 97%
rename from tests/xfs/179
rename to tests/generic/047
index 2f3673e5681cac5dacfba27ec589b56409342ff1..0418a3bd7ee4f4992f81aead8ae082c25d021957 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FSQA Test No. 179
+# FSQA Test No. 047
 #
 # Test for NULL files problem
 # test inode size is on disk after fsync
@@ -37,13 +37,13 @@ trap "exit \$status" 0 1 2 3 15
 . ./common/filter
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux IRIX
 
 _require_scratch
 _require_scratch_shutdown
 _require_fiemap
-_scratch_mkfs_xfs >/dev/null 2>&1
+_scratch_mkfs >/dev/null 2>&1
 _scratch_mount
 
 _check_files()
diff --git a/tests/generic/047.out b/tests/generic/047.out
new file mode 100644 (file)
index 0000000..58e2353
--- /dev/null
@@ -0,0 +1 @@
+QA output created by 047
similarity index 97%
rename from tests/xfs/180
rename to tests/generic/048
index 40a186a6797896f6a2b3849a2715b7852dc7827d..558fe5f6fb418bbdfc2aa35f73d3e2c37c3a0068 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FSQA Test No. 180
+# FSQA Test No. 048
 #
 # Test for NULL files problem
 # test inode size is on disk after sync
@@ -37,13 +37,13 @@ trap "exit \$status" 0 1 2 3 15
 . ./common/filter
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux IRIX
 
 _require_scratch
 _require_scratch_shutdown
 _require_fiemap
-_scratch_mkfs_xfs >/dev/null 2>&1
+_scratch_mkfs >/dev/null 2>&1
 _scratch_mount
 
 # Do we have enough space on disk?  10G
diff --git a/tests/generic/048.out b/tests/generic/048.out
new file mode 100644 (file)
index 0000000..7554630
--- /dev/null
@@ -0,0 +1 @@
+QA output created by 048
similarity index 97%
rename from tests/xfs/182
rename to tests/generic/049
index 028e121dfb8c80bfc324033ff5c30a3d4c4f0711..646d39e1d2eec89bb7616076ccf245480466113c 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FSQA Test No. 182
+# FSQA Test No. 049
 #
 # Test for NULL files problem
 # test inode size is on disk after sync - expose log replay bug
@@ -37,13 +37,13 @@ trap "exit \$status" 0 1 2 3 15
 . ./common/filter
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux IRIX
 
 _require_scratch
 _require_scratch_shutdown
 _require_fiemap
-_scratch_mkfs_xfs >/dev/null 2>&1
+_scratch_mkfs >/dev/null 2>&1
 _scratch_mount
 
 _check_files()
diff --git a/tests/generic/049.out b/tests/generic/049.out
new file mode 100644 (file)
index 0000000..cb0061b
--- /dev/null
@@ -0,0 +1 @@
+QA output created by 049
similarity index 96%
rename from tests/xfs/200
rename to tests/generic/050
index bd6d0fdc9bc0dc5362a733faad8a9cfc1f20ff1c..a32e049a84788aaac26cac136770092de3fda07a 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# FS QA Test No. 200
+# FS QA Test No. 050
 #
 # Check out various mount/remount/unmount scenarious on a read-only blockdev.
 #
@@ -41,14 +41,14 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 . ./common/filter
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux
 
 _require_scratch_nocheck
 _require_scratch_shutdown
 _require_norecovery
 
-_scratch_mkfs_xfs >/dev/null 2>&1
+_scratch_mkfs >/dev/null 2>&1
 
 #
 # Mark the device read-only
@@ -119,7 +119,7 @@ blockdev --setrw $SCRATCH_DEV
 # the underlying device is not write protected.
 #
 echo "mounting filesystem that needs recovery with -o ro:"
-_scratch_mount -o ro 2>&1 | _filter_scratch 
+_scratch_mount -o ro 2>&1 | _filter_scratch
 
 # success, all done
 echo "*** done"
similarity index 97%
rename from tests/xfs/200.out
rename to tests/generic/050.out
index 40f91633884a4317c7b2e86418d3d34730702a57..f8dbb7a4d7aa7dde6ea672f9013251845cc50c4b 100644 (file)
@@ -1,4 +1,4 @@
-QA output created by 200
+QA output created by 050
 setting device read-only
 mounting read-only block device:
 mount: SCRATCH_DEV is write-protected, mounting read-only
similarity index 98%
rename from tests/xfs/306
rename to tests/generic/051
index 5af5aced27370a6cdb0006e76998efad9858245f..614939f3aab5b9917e148f8c61fa3d85cf173936 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-# FS QA Test No. xfs/306
+# FS QA Test No. 051
 #
 # Basic log recovery stress test - do lots of stuff, shut down in the middle of
 # it and check that recovery runs to completion and everything can be
@@ -45,7 +45,7 @@ _cleanup()
 trap "_cleanup; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
-_supported_fs xfs
+_supported_fs generic
 _supported_os Linux
 
 _require_scratch
similarity index 60%
rename from tests/xfs/306.out
rename to tests/generic/051.out
index 9fd18a409ef029c0353c2a5e682530d9c9c7d355..daf2e6a49eab787b28cb5a514fcf7c7e7acc0cb5 100644 (file)
@@ -1,2 +1,2 @@
-QA output created by 306
+QA output created by 051
 No output is good. Failures are loud.
index fb67b574f8952a42e1d5ed74a40ba57e7b560822..d38240e87e34df002dd325d260ebd42392715cc2 100644 (file)
 039 metadata auto quick
 040 metadata auto quick
 041 metadata auto quick
+042 auto quick rw
+043 metadata log auto
+044 metadata log auto
+045 metadata log auto
+046 metadata log auto
+047 metadata rw auto
+048 metadata rw auto
+049 metadata rw auto
+050 mount auto quick
+051 auto stress log metadata repair
 053 acl repair auto quick
 062 attr udf auto quick
 068 other auto freeze dangerous stress
diff --git a/tests/xfs/137.out b/tests/xfs/137.out
deleted file mode 100644 (file)
index 0fd8b81..0000000
+++ /dev/null
@@ -1 +0,0 @@
-QA output created by 137
diff --git a/tests/xfs/138.out b/tests/xfs/138.out
deleted file mode 100644 (file)
index f3eb411..0000000
+++ /dev/null
@@ -1 +0,0 @@
-QA output created by 138
diff --git a/tests/xfs/139.out b/tests/xfs/139.out
deleted file mode 100644 (file)
index be0ebc2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-QA output created by 139
diff --git a/tests/xfs/140.out b/tests/xfs/140.out
deleted file mode 100644 (file)
index e6506b8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-QA output created by 140
diff --git a/tests/xfs/179.out b/tests/xfs/179.out
deleted file mode 100644 (file)
index e5b0ba9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-QA output created by 179
diff --git a/tests/xfs/180.out b/tests/xfs/180.out
deleted file mode 100644 (file)
index 9035544..0000000
+++ /dev/null
@@ -1 +0,0 @@
-QA output created by 180
diff --git a/tests/xfs/182.out b/tests/xfs/182.out
deleted file mode 100644 (file)
index 5e665c8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-QA output created by 182
index 9ffd17bfc885b7354c629340b08623968146f834..de34822c66f667a77187644f1f30c4333b16ef4b 100644 (file)
@@ -50,7 +50,6 @@
 050 quota auto quick
 051 auto log metadata
 052 quota db auto quick
-053 auto quick rw
 054 quota auto quick
 055 dump ioctl remote tape
 056 dump ioctl auto quick
 122 other auto quick
 134 quota auto quick
 136 attr2
-137 metadata log auto
-138 metadata log auto
-139 metadata log auto
-140 metadata log auto
 142 dmapi
 143 dmapi
 144 dmapi
 176 dmapi
 177 dmapi
 178 mkfs other auto
-179 metadata rw auto
-180 metadata rw auto
 181 log auto quick
-182 metadata rw auto
 183 rw other auto quick
 185 dmapi
 186 attr auto quick
 196 quota auto quick
 197 dir auto quick
 199 mount auto quick
-200 mount auto quick
 201 metadata auto quick
 202 repair auto quick
 203 ioctl auto
 303 auto quick quota
 304 auto quick quota
 305 auto quota
-306 auto stress log metadata repair