From 06ace9e426502a268234e939a1846f5a33cbcefb Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 22 Jan 2003 01:08:52 -0500 Subject: [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) --- tools/h5dump/testh5dump.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v0.12