# - 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
testfile=$TEST_DIR/testfile
rm -f $testfile
-rm -f $seqres.full
echo test >$testfile
time1=`_access_time $testfile | tee -a $seqres.full`