diff options
author | David Young <dyoung@hdfgroup.org> | 2020-01-13 17:22:34 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-01-13 17:22:34 (GMT) |
commit | fe7965d38f818e0c4d0154c0172703fbe71aec8d (patch) | |
tree | d17aced87ad45c1e221cc04d31481078e0e90bf6 /tools/test/h5dump | |
parent | 16ca8f2c95416a09e437545333b3bb9a2f48d84c (diff) | |
download | hdf5-fe7965d38f818e0c4d0154c0172703fbe71aec8d.zip hdf5-fe7965d38f818e0c4d0154c0172703fbe71aec8d.tar.gz hdf5-fe7965d38f818e0c4d0154c0172703fbe71aec8d.tar.bz2 |
Don't use the bash-ism [[ ]]. Use the [ ], which is standard and
perfectly adequate in this case.
Diffstat (limited to 'tools/test/h5dump')
-rw-r--r-- | tools/test/h5dump/testh5dump.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5dump/testh5dump.sh.in b/tools/test/h5dump/testh5dump.sh.in index 141715c..ecbc163 100644 --- a/tools/test/h5dump/testh5dump.sh.in +++ b/tools/test/h5dump/testh5dump.sh.in @@ -923,7 +923,7 @@ GREPTEST() cd $TESTDIR $ENVCMD $RUNSERIAL $DUMPER_BIN -p "$@" ) >$actual 2>$actual_err - if [[ "$txttype" = "ERRTXT" ]]; then + if [ "$txttype" = "ERRTXT" ]; then $GREP "$expectdata" $actual_err > /dev/null else $GREP "$expectdata" $actual > /dev/null |