xfstests: RESULTS_DIR needs to be an absolute path
authorDave Chinner <dchinner@redhat.com>
Fri, 15 Mar 2013 12:28:06 +0000 (12:28 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 27 Mar 2013 02:46:23 +0000 (21:46 -0500)
commite5c7cd83c4840792789dc773ce038d2212db7b0e
treefde427fd34bffad4ee15ffb68d6913f08cbb1335
parent0b1e8abd4a6dbce54bcc5d0467e58966e41e7eb8
xfstests: RESULTS_DIR needs to be an absolute path

Some tests 'cd <somedir>' and then direct output to $RESULT_DIR,
which fails if the current working directory is not $here.
Regardless, if an external results directory is to be used it needs
to have a full path specified and the use of $here as the base of
the results files is completely incorrect.

Hence change all the $here/$seqres* references to simply be
$seqres*, and instead encode the full path to the results in
$RESULT_DIR.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Phil White <pwhite@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
33 files changed:
check
common/attr
common/defrag
common/dump
common/filestreams
common/log
common/quota
common/rc
common/scsi_debug
tests/generic/001
tests/generic/010
tests/generic/013
tests/generic/074
tests/generic/075
tests/generic/089
tests/generic/100
tests/generic/112
tests/generic/192
tests/generic/232
tests/generic/233
tests/generic/269
tests/generic/270
tests/shared/305
tests/xfs/008
tests/xfs/012
tests/xfs/024
tests/xfs/067
tests/xfs/114
tests/xfs/115
tests/xfs/168
tests/xfs/186
tests/xfs/282
tests/xfs/283