diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-06-21 08:55:09 -0700 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2021-06-27 22:50:02 +0800 |
commit | 7e98d41a6e009f348cd328e4b3bda2fd4352b94e (patch) | |
tree | a82ec4d292532f04a6e73d0e0832653f8048cb02 /tests/generic/513 | |
parent | 827136e6f36ddcba5b2c7a625ee00d0ed25a6990 (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/generic/513')
-rwxr-xr-x | tests/generic/513 | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/tests/generic/513 b/tests/generic/513 index 70687877..dc082787 100755 --- a/tests/generic/513 +++ b/tests/generic/513 @@ -6,21 +6,10 @@ # # Ensure that ctime is updated and capabilities are cleared when reflinking. # -seq=`basename $0` -seqres=$RESULT_DIR/$seq -echo "QA output created by $seq" -tmp=/tmp/$$ -status=1 # failure is the default! -trap "_cleanup; exit \$status" 0 1 2 3 15 - -_cleanup() -{ - cd / - rm -f $tmp.* -} - -# get standard environment, filters and checks -. ./common/rc +. ./common/preamble +_begin_fstest auto quick clone + +# Import common functions. . ./common/filter . ./common/reflink @@ -30,8 +19,6 @@ _require_scratch_reflink _require_command "$GETCAP_PROG" getcap _require_command "$SETCAP_PROG" setcap -rm -f $seqres.full - _scratch_mkfs >>$seqres.full 2>&1 _scratch_mount |