From d67139f909c61b6809b525a39b8b72a0567220b2 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 30 Apr 2003 02:26:58 -0500 Subject: [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: --- tools/h5dump/testh5dump.sh | 8 +------- 1 file changed, 1 insertion(+), 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 -- cgit v0.12