fstests: move test group info to test files
[xfstests-dev.git] / tests / f2fs / 002
index 9e6cb1024c0d394ee9ca356eac0b6ac7b65855d7..59ca2a2dcd5002be89d9a9cf2bb3c20a69228eab 100755 (executable)
 # algorithm shouldn't make a difference for the purpose of this test.  So we
 # just test LZ4.
 
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest auto quick rw encrypt compress
 
-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/f2fs
 . ./common/encrypt
 
-rm -f $seqres.full
-
 _supported_fs f2fs
 
 # Prerequisites to create a file that is both encrypted and LZ4-compressed