#
# Test out "xfsdump | xfsrestore"
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest dump ioctl auto quick
-here=`pwd`
-tmp=/tmp/$$
status=0 # success is the default!
-trap "_cleanup; exit \$status" 0 1 2 3 15
+# Override the default cleanup function.
_cleanup()
{
_cleanup_dump
rm -f $tmp.*
}
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
. ./common/dump
# real QA test starts here