mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[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:
This commit is contained in:
parent
38da700aa8
commit
d67139f909
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user