# Check the filestreams allocator is doing its job.
# Multi-file data streams should always write into seperate AGs.
#
-seq=`basename $0`
-seqres=$RESULT_DIR/$seq
-echo "QA output created by $seq"
+. ./common/preamble
+_begin_fstest rw filestreams auto quick
-here=`pwd`
-tmp=/tmp/$$
-rm -f $seqres.full
-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
+# Import common functions.
. ./common/filter
. ./common/filestreams