summaryrefslogtreecommitdiff
path: root/tests/xfs/202
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-06-21 08:55:09 -0700
committerEryu Guan <guaneryu@gmail.com>2021-06-27 22:50:02 +0800
commit7e98d41a6e009f348cd328e4b3bda2fd4352b94e (patch)
treea82ec4d292532f04a6e73d0e0832653f8048cb02 /tests/xfs/202
parent827136e6f36ddcba5b2c7a625ee00d0ed25a6990 (diff)
fstests: move test group info to test files
Refactor every test in the entire test suite to use the new boilerplate functions. This also migrates all the test group information into the test files. This patch has been autogenerated via the command: ./tools/convert-group btrfs ceph cifs ext4 f2fs generic nfs ocfs2 overlay perf shared udf xfs Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'tests/xfs/202')
-rwxr-xr-xtests/xfs/20213
1 files changed, 3 insertions, 10 deletions
diff --git a/tests/xfs/202 b/tests/xfs/202
index 936575a0..5075d3a1 100755
--- a/tests/xfs/202
+++ b/tests/xfs/202
@@ -6,16 +6,10 @@
#
# Test out the xfs_repair -o force_geometry option on single-AG filesystems.
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest repair auto quick
-here=`pwd`
-tmp=/tmp/$$
-status=1 # failure is the default!
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
. ./common/filter
. ./common/repair
@@ -43,5 +37,4 @@ _scratch_xfs_repair -o force_geometry 2>&1 | _filter_repair
# success, all done
echo "*** done"
-rm -f $seqres.full
status=0