fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 494
index 09034ba41e8ae4a489b7dedf9833445f4065f982..2e14fab8c19acf1d49624a53bd45970fbf027ba1 100755 (executable)
@@ -6,25 +6,10 @@
 #
 # Test truncation/hole punching of an active swapfile.
 #
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-here=`pwd`
-tmp=/tmp/$$
-status=1       # failure is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
-
-_cleanup()
-{
-       cd /
-       rm -f $tmp.*
-}
-
-. ./common/rc
-. ./common/filter
+. ./common/preamble
+_begin_fstest auto quick swap punch
 
-rm -f $seqres.full
+. ./common/filter
 
 _supported_fs generic
 _require_scratch_swapfile