xfstests: convert tests to use new results directory
[xfstests-dev.git] / tests / xfs / 106
index e8f1d454d6056e4500fa71b6c261b83732e1b5ab..58d753b188d5d3f4ced463f6947da446dd710df4 100755 (executable)
@@ -25,6 +25,9 @@
 #
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
+seqres=$RESULT_DIR/$seq
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`
@@ -44,7 +47,7 @@ _require_xfs_quota
 
 # real QA test starts here
 _scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
-cat $tmp.mkfs >$seq.full
+cat $tmp.mkfs >$seqres.full
 . $tmp.mkfs
 
 # setup a default run
@@ -115,7 +118,7 @@ s/Inode: \#\d+ \(\d+ blocks, \d+ extents\)/Inode: #[INO] (X blocks, Y extents)/;
 test_quot()
 {
        echo "checking quot command (type=$type)"  # not deterministic on blks
-       xfs_quota -x -c "quot -n -$type" $SCRATCH_MNT >>$seq.full 2>&1
+       xfs_quota -x -c "quot -n -$type" $SCRATCH_MNT >>$seqres.full 2>&1
 }
 
 test_report()