diff options
Diffstat (limited to 'tools/h5recover/testh5recover.sh.in')
-rw-r--r-- | tools/h5recover/testh5recover.sh.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/h5recover/testh5recover.sh.in b/tools/h5recover/testh5recover.sh.in index 9a6531b..d285901 100644 --- a/tools/h5recover/testh5recover.sh.in +++ b/tools/h5recover/testh5recover.sh.in @@ -29,6 +29,7 @@ TOOLCTLDataFile=CTL$TOOLDataFile RECOVERTOOL=h5recover # The tool name RECOVERTOOL_BIN=`pwd`/$RECOVERTOOL # The path of the tool binary H5DIFF=../h5diff/h5diff +H5DIFF_BIN=`pwd`/../h5diff/$H5DIFF # The path of the h5diff tool binary TESTDIR=`pwd`/../testfiles @@ -74,7 +75,7 @@ TOOLTEST() { TESTING $TOOL $@ $RUNSERIAL $TOOL_BIN $@ # expect first diff to fail - $RUNSERIAL $H5DIFF $TOOLDataFile $TOOLCTLDataFile > /dev/null 2>&1 + $RUNSERIAL $H5DIFF_BIN $TOOLDataFile $TOOLCTLDataFile > /dev/null 2>&1 if [ $? = 0 ]; then echo first diff did not fail as expected fi @@ -82,12 +83,12 @@ TOOLTEST() { # h5recover is not ready yet. Redirect its output to /dev/null. $RUNSERIAL $RECOVERTOOL_BIN $TOOLDataFile > /dev/null # second diff should produce expected output - $RUNSERIAL $H5DIFF $TOOLDataFile $TOOLCTLDataFile > $actual + $RUNSERIAL $H5DIFF_BIN $TOOLDataFile $TOOLCTLDataFile > $actual ( echo "#############################" echo "Expected output for '$TOOL $@'" echo "#############################" - $RUNSERIAL $H5DIFF $TOOLDataFile $TOOLCTLDataFile + $RUNSERIAL $H5DIFF_BIN $TOOLDataFile $TOOLCTLDataFile ) >$actual 2>$actual_err cat $actual_err >> $actual |