@@ -55,16 +55,16 @@ _do_test()
fi
fi
- # This cd and use of -P gets full debug on $here (not TEST_DEV)
+ # This cd and use of -P gets full debug on "$RESULT_DIR" (not TEST_DEV)
cd $out
- if ! $here/ltp/fsx $_param -P $here $seq.$_n $FSX_AVOID &>/dev/null
+ if ! $here/ltp/fsx $_param -P "$RESULT_DIR" $seq.$_n $FSX_AVOID &>/dev/null
then
echo " fsx ($_param) failed, $? - compare $seqres.$_n.{good,bad,fsxlog}"
mv $out/$seq.$_n $seqres.$_n.full
- mv $here/$seq.$_n.fsxlog $seqres.$_n.fsxlog
+ mv "$RESULT_DIR"/$seq.$_n.fsxlog $seqres.$_n.fsxlog
od -xAx $seqres.$_n.full > $seqres.$_n.bad
- od -xAx $here/$seq.$_n.fsxgood > $seqres.$_n.good
- rm -f $here/$seq.$_n.fsxgood
+ od -xAx "$RESULT_DIR"/$seq.$_n.fsxgood > $seqres.$_n.good
+ rm -f "$RESULT_DIR"/$seq.$_n.fsxgood
status=1
exit
fi
@@ -55,12 +55,12 @@ _do_test()
fi
fi
- # This cd and use of -P gets full debug on $here (not TEST_DEV)
+ # This cd and use of -P gets full debug on "$RESULT_DIR" (not TEST_DEV)
cd $out
- if ! $here/ltp/fsx $_param -P $here $FSX_AVOID $seq.$_n &>/dev/null
+ if ! $here/ltp/fsx $_param -P "$RESULT_DIR" $FSX_AVOID $seq.$_n &>/dev/null
then
echo " fsx ($_param) returned $? - see $seq.$_n.full"
- mv $here/$seq.$_n.fsxlog $seqres.$_n.full
+ mv "$RESULT_DIR"/$seq.$_n.fsxlog $seqres.$_n.full
status=1
exit
fi
If $here is not writable, tests fail. Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> --- tests/generic/075 | 10 +++++----- tests/generic/112 | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-)