diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2008-03-25 19:22:25 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2008-03-25 19:22:25 (GMT) |
commit | b95e5a90cdf9c6c7116e6d3432fb10daf0351fb8 (patch) | |
tree | 42786accb740f8904217e033cd001b6ed0faa40d /tools/h5recover/testh5recover.sh.in | |
parent | 44fca4292fd81c5da8694f6270f0fc165187da56 (diff) | |
download | hdf5-b95e5a90cdf9c6c7116e6d3432fb10daf0351fb8.zip hdf5-b95e5a90cdf9c6c7116e6d3432fb10daf0351fb8.tar.gz hdf5-b95e5a90cdf9c6c7116e6d3432fb10daf0351fb8.tar.bz2 |
[svn-r14774] Enhancement?.
Red Storm did not like to use "touch" as the faked h5recover tools.
Added h5recover.c to provide a dummy executable to make RS happy.
Tested:
Kagiso, smirom, linew, Redstorm. (but red storm now failed when trecover uses
Async crash.)
Diffstat (limited to 'tools/h5recover/testh5recover.sh.in')
-rw-r--r-- | tools/h5recover/testh5recover.sh.in | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/h5recover/testh5recover.sh.in b/tools/h5recover/testh5recover.sh.in index 1b496cc..9a6531b 100644 --- a/tools/h5recover/testh5recover.sh.in +++ b/tools/h5recover/testh5recover.sh.in @@ -26,11 +26,8 @@ TOOL=trecover # The tool name TOOL_BIN=`pwd`/$TOOL # The path of the tool binary TOOLDataFile=trecover.h5 TOOLCTLDataFile=CTL$TOOLDataFile -# Since h5recover does not exist yet, use touch for now. -#RECOVERTOOL=h5recover # The tool name -#RECOVERTOOL_BIN=`pwd`/$RECOVERTOOL # The path of the tool binary -RECOVERTOOL=touch # The tool name -RECOVERTOOL_BIN=touch # The path of the tool binary +RECOVERTOOL=h5recover # The tool name +RECOVERTOOL_BIN=`pwd`/$RECOVERTOOL # The path of the tool binary H5DIFF=../h5diff/h5diff TESTDIR=`pwd`/../testfiles @@ -81,8 +78,9 @@ TOOLTEST() { if [ $? = 0 ]; then echo first diff did not fail as expected fi - # Recover the file - $RUNSERIAL $RECOVERTOOL_BIN $TOOLDataFile + # Recover the file. + # 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 ( |