fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 277
index 11c69e988bb41a76da0ef46e63b5abc53e0511cd..7920332731ad1a171694997ca60d3b8ede65ed22 100755 (executable)
@@ -6,21 +6,16 @@
 #
 # Check if ctime update caused by chattr is written to disk
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-status=1       # failure is the default!
+. ./common/preamble
+_begin_fstest auto ioctl quick metadata
 
+# Override the default cleanup function.
 _cleanup()
 {
     rm -f $SCRATCH_MNT/tmp*
 }
 
-trap "_cleanup ; exit \$status" 0 1 2 3 15
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 . ./common/attr