diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-04-30 07:26:58 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-04-30 07:26:58 (GMT) |
commit | d67139f909c61b6809b525a39b8b72a0567220b2 (patch) | |
tree | fcb6d118d8bb38b3cb989e1c690d84b606b61a36 /tools | |
parent | 38da700aa80ad265c8150aa1c2ebb6cb7a931c2a (diff) | |
download | hdf5-d67139f909c61b6809b525a39b8b72a0567220b2.zip hdf5-d67139f909c61b6809b525a39b8b72a0567220b2.tar.gz hdf5-d67139f909c61b6809b525a39b8b72a0567220b2.tar.bz2 |
[svn-r6783] Purpose:
Bug fix
Description:
"$@" was used to represent all argument provided. This has the
unfortunate effect as one argument of "" when actually no argument
was given. Some machines throw the "" away but some like Tflops
and Alpha Q, retains them as a single argument of "". This caused
the no filename given test to fail.
Solution:
Replaced "$@" with a plain $@.
Platforms tested:
h5committested
Misc. update:
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/h5dump/testh5dump.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/h5dump/testh5dump.sh b/tools/h5dump/testh5dump.sh index 588d6c3..12a71de 100755 --- a/tools/h5dump/testh5dump.sh +++ b/tools/h5dump/testh5dump.sh @@ -53,19 +53,13 @@ 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 - if [ "`uname -s`" = "TFLOPS O/S" ]; then - $RUNSERIAL $DUMPER_BIN $@ - else - $RUNSERIAL $DUMPER_BIN "$@" - fi + $RUNSERIAL $DUMPER_BIN $@ ) >$actual 2>$actual_err cat $actual_err >> $actual |