xfstests: convert tests to use new results directory
[xfstests-dev.git] / tests / ext4 / 304
index f9b37215a672d4f3eb541d4a07149cbd6f98620f..24b01025d4f402c421a36f1dd6ee7afacd98d61a 100644 (file)
@@ -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`
@@ -104,13 +107,13 @@ _workout()
        echo ""
        echo " Start defragment activity"
        echo ""
-       cat $tmp-$seq.fio >>  $seq.full
+       cat $tmp-$seq.fio >>  $seqres.full
        run_check $FIO_PROG $tmp-$seq.fio
 }
 
 _require_fio $tmp-$seq.fio
 
-_scratch_mkfs  >> $seq.full 2>&1
+_scratch_mkfs  >> $seqres.full 2>&1
 _scratch_mount
 
 if ! _workout; then