fstests: move test group info to test files
[xfstests-dev.git] / tests / generic / 399
index 3bc97690058ce7eab5155b0c82c81c494ce0cfe0..55f07ae575c2fed047fcbdad5afef9f05970fcbe 100755 (executable)
 # initialization vector reuse bug fixed in commit 02fc59a0d28f ("f2fs/crypto:
 # fix xts_tweak initialization").
 #
-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.*
-}
-
-# get standard environment, filters and checks
-. ./common/rc
+. ./common/preamble
+_begin_fstest auto encrypt
+
+# Import common functions.
 . ./common/filter
 . ./common/encrypt
 
-# remove previous $seqres.full before test
-rm -f $seqres.full
-
 # real QA test starts here
 _supported_fs generic
 _require_scratch_encryption