fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 192
index 2bc8835f03f4aac1c1b34fcc1f64d3dbc96c355d..0d3cd03b4bf3639a05b12106bdfe94a691db59b0 100755 (executable)
@@ -8,22 +8,15 @@
 # - ensure it is persistent after unmount
 # - check updated time by correct amount
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "exit \$status" 0 1 2 3 15
+. ./common/preamble
+_begin_fstest atime auto
 
 _access_time()
 {
        stat -c %X $1
 }
 
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here
@@ -35,7 +28,6 @@ delay=5
 
 testfile=$TEST_DIR/testfile
 rm -f $testfile
-rm -f $seqres.full
 
 echo test >$testfile
 time1=`_access_time $testfile | tee -a $seqres.full`