#
# Based on a bug report and testcase from Geoffrey Wehrman <gwehrman@sgi.com>.
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
-
-here=`pwd`
-tmp=/tmp/$$
-status=1 # failure is the default!
+. ./common/preamble
+_begin_fstest auto rw
+# Override the default cleanup function.
_cleanup()
{
rm -rf ${TDIR}
}
-trap "_cleanup ; exit \$status" 0 1 2 3 15
-
-# get standard environment, filters and checks
-. ./common/rc
+# Import common functions.
# real QA test starts here
_supported_fs xfs