xfstests: convert tests to use new results directory
[xfstests-dev.git] / tests / generic / 100
index 1ba5eb7e1b7a7eddd3e994f6fd1c6fa22d9809cc..a9d0a76b13d0b97c104e41a2794ea1b6e9482b71 100755 (executable)
@@ -24,6 +24,9 @@
 #
 
 seq=`basename $0`
+seqres=$RESULT_DIR/$seq
+seqres=$RESULT_DIR/$seq
+seqres=$RESULT_DIR/$seq
 echo "QA output created by $seq"
 
 here=`pwd`
@@ -54,17 +57,17 @@ DEPTH=5
 POPULATED_DIR=$TEMP_DIR/populate_root
 SIZE=10
 
-rm -f $seq.full
+rm -f $seqres.full
 
 # Clean up if file exist from prevous run
 rm -rf $POPULATED_DIR
 rm -f $TEMP_DIR/$TAR_FILE
 
 # Create the new directory structure
-_populate_fs -n $NDIRS -f $NFILES -d $DEPTH -r $POPULATED_DIR -s $SIZE >>$here/$seq.full 2>&1
+_populate_fs -n $NDIRS -f $NFILES -d $DEPTH -r $POPULATED_DIR -s $SIZE >>$here/$seqres.full 2>&1
 
 # Then tar up the directory structure
-tar -cvf $TEMP_DIR/$TAR_FILE $POPULATED_DIR >>$here/$seq.full 2>&1
+tar -cvf $TEMP_DIR/$TAR_FILE $POPULATED_DIR >>$here/$seqres.full 2>&1
 
 # create f/s
 _require_scratch
@@ -72,12 +75,12 @@ _setup_testdir
 
 # untar on f/s
 cd $testdir
-tar -xRvf $TEMP_DIR/$TAR_FILE >>$here/$seq.full 2>&1
+tar -xRvf $TEMP_DIR/$TAR_FILE >>$here/$seqres.full 2>&1
 cd $here
 
 
 # use diff -qr to compare
-ls -R -l ${testdir}${POPULATED_DIR} >>$here/$seq.full 2>&1
+ls -R -l ${testdir}${POPULATED_DIR} >>$here/$seqres.full 2>&1
 diff -qr $POPULATED_DIR ${testdir}${POPULATED_DIR}
 
 cd /