diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-01-18 15:46:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-01-18 15:46:50 (GMT) |
commit | a8e9126054e555d7e8239471d4d8a9ed0d282bed (patch) | |
tree | e9ab46c8f176ba05c83327daf31acc537c42f9a1 /tools/test/h5dump | |
parent | ee4c57cc089eb895856f649c865297d334bb30e3 (diff) | |
download | hdf5-a8e9126054e555d7e8239471d4d8a9ed0d282bed.zip hdf5-a8e9126054e555d7e8239471d4d8a9ed0d282bed.tar.gz hdf5-a8e9126054e555d7e8239471d4d8a9ed0d282bed.tar.bz2 |
Fix script varnames
Diffstat (limited to 'tools/test/h5dump')
-rw-r--r-- | tools/test/h5dump/h5dump_plugin.sh.in | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/tools/test/h5dump/h5dump_plugin.sh.in b/tools/test/h5dump/h5dump_plugin.sh.in index 2c33d58..d19981e 100644 --- a/tools/test/h5dump/h5dump_plugin.sh.in +++ b/tools/test/h5dump/h5dump_plugin.sh.in @@ -173,18 +173,6 @@ VERIFY() { # If $1 == ignorecase then do caseless CMP and DIFF. # ADD_H5_TEST TOOLTEST() { - # check if caseless compare and diff requested - if [ "$1" = ignorecase ]; then - caseless="-i" - # replace cmp with diff which runs much longer. - xCMP="$DIFF -i" - shift - else - caseless="" - # stick with faster cmp if ignorecase is not requested. - xCMP="$CMP" - fi - expect="$TESTDIR/$1" actual="$TESTDIR/`basename $1 .ddl`.out" actual_err="$TESTDIR/`basename $1 .ddl`.err" @@ -193,10 +181,10 @@ TOOLTEST() { shift # Run test. - TESTING $DUMPER $@ + TESTING $H5DUMP $@ ( cd $TESTDIR - $ENVCMD $RUNSERIAL $DUMPER_BIN "$@" + $ENVCMD $RUNSERIAL $H5DUMP_BIN "$@" ) >$actual 2>$actual_err # save actual and actual_err in case they are needed later. @@ -210,7 +198,7 @@ TOOLTEST() { # Create the expect file if it doesn't yet exist. echo " CREATED" cp $actual $expect - elif $xCMP $expect $actual > /dev/null 2>&1 ; then + elif $CMP $expect $actual > /dev/null 2>&1 ; then echo " PASSED" else echo "*FAILED*" |