mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: convert tests to use new results directory
Essentially the change is simply this. Converting: ... >> $seq.???? to: .... >> $RESULT_DIR/$seq.???? so that output files are directed to the defined output directory. sed to the rescue: $ sed -i -e '/^seq=.*$/a seqres=$RESULT_DIR/$seq' -e 's/seq.full/seqres.full/' tests/*/* will do most of the work automatically. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Phil White <pwhite@sgi.com> [rjohnston@sgi.com reworked for TOT changes] Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
1686f9abfc
commit
1d5d46db80
@@ -106,6 +106,7 @@ cat <<End-of-File >$id
|
||||
#
|
||||
# creator
|
||||
seq=\`basename \$0\`
|
||||
seqres=$RESULT_DIR/$seq
|
||||
echo "QA output created by \$seq"
|
||||
|
||||
here=\`pwd\`
|
||||
@@ -134,7 +135,7 @@ exit
|
||||
|
||||
# optional stuff if your test has verbose output to help resolve problems
|
||||
#echo
|
||||
#echo "If failure, check \$seq.full (this) and \$seq.full.ok (reference)"
|
||||
#echo "If failure, check \$seqres.full (this) and \$seqres.full.ok (reference)"
|
||||
|
||||
# success, all done
|
||||
status=0
|
||||
|
||||
Reference in New Issue
Block a user