summaryrefslogtreecommitdiffstats
path: root/tools/test/h5dump
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-20 15:02:51 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-20 15:02:51 (GMT)
commitbc88c82308626ef76c931cef16c691898ef01aaf (patch)
tree785c348bcf6ff93a2bfb151c015cd5fa57b400c7 /tools/test/h5dump
parent628c63f12598b65727e828090f38f038e2597400 (diff)
parentb55a584fd5b3aac6f2514fba41a6182030b497ae (diff)
downloadhdf5-bc88c82308626ef76c931cef16c691898ef01aaf.zip
hdf5-bc88c82308626ef76c931cef16c691898ef01aaf.tar.gz
hdf5-bc88c82308626ef76c931cef16c691898ef01aaf.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'b55a584fd5b3aac6f2514fba41a6182030b497ae': In portable shell scripts (using #!/bin/sh) we have to use single square brackets, [ ], instead of the bash-ism double square brackets, [[ ]]. Make this script work on hosts where PERL is not installed at /usr/bin/perl.
Diffstat (limited to 'tools/test/h5dump')
-rw-r--r--tools/test/h5dump/testh5dump.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5dump/testh5dump.sh.in b/tools/test/h5dump/testh5dump.sh.in
index 4b85138..dc7d999 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