fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 212
index d421d2cfeeb396b015952db6acacb03045619e9d..71e2724e91e26a4915708bc38016a1cd6cb85013 100755 (executable)
@@ -7,23 +7,10 @@
 # Run aio-io-setup-with-nonwritable-context-pointer -
 # Test what happens when a non-writable context pointer is passed to io_setup
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto aio quick
 
-here=`pwd`
-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
+# Import common functions.
 . ./common/filter
 
 # real QA test starts here