summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-01-22 06:08:52 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-01-22 06:08:52 (GMT)
commit06ace9e426502a268234e939a1846f5a33cbcefb (patch)
treee2e992f08fc7e86b0e19a87095438303944c8a79 /tools
parent127dc2f80db940c9bd7b69bedf7383ad55ed8d81 (diff)
downloadhdf5-06ace9e426502a268234e939a1846f5a33cbcefb.zip
hdf5-06ace9e426502a268234e939a1846f5a33cbcefb.tar.gz
hdf5-06ace9e426502a268234e939a1846f5a33cbcefb.tar.bz2
[svn-r6310] Purpose:
patch Description: Tflops interprets "$@" as "" when no parameter is given (e.g., the case of missing file name). Changed it to use $@ till Tflops fixes it. Platforms tested: Tflops, burrwhite (pp), modi4(pp)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/h5dump/testh5dump.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/h5dump/testh5dump.sh b/tools/h5dump/testh5dump.sh
index 99c1a89..588d6c3 100755
--- a/tools/h5dump/testh5dump.sh
+++ b/tools/h5dump/testh5dump.sh
@@ -53,13 +53,19 @@ TOOLTEST() {
shift
# Run test.
+ # Tflops interprets "$@" as "" when no parameter is given (e.g., the
+ # case of missing file name). Changed it to use $@ till Tflops fixes it.
TESTING $DUMPER $@
(
echo "#############################"
echo "Expected output for '$DUMPER $@'"
echo "#############################"
cd $srcdir/../testfiles
- $RUNSERIAL $DUMPER_BIN "$@"
+ if [ "`uname -s`" = "TFLOPS O/S" ]; then
+ $RUNSERIAL $DUMPER_BIN $@
+ else
+ $RUNSERIAL $DUMPER_BIN "$@"
+ fi
) >$actual 2>$actual_err
cat $actual_err >> $actual