diff options
author | David Young <dyoung@hdfgroup.org> | 2020-04-28 14:54:06 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-07-07 15:49:55 (GMT) |
commit | f68226ed892d8a0536900e568a8308bb60673afc (patch) | |
tree | f0d588b1c617196f4918cbfac9347f05b25ea47c /tools/test | |
parent | d553bd4bf3d654268a3cf1b273d9abd34db3f9d4 (diff) | |
download | hdf5-f68226ed892d8a0536900e568a8308bb60673afc.zip hdf5-f68226ed892d8a0536900e568a8308bb60673afc.tar.gz hdf5-f68226ed892d8a0536900e568a8308bb60673afc.tar.bz2 |
Use the portable `-eq` operator instead of the bash-ism `==`. Fixes the
tests on NetBSD, where /bin/sh != bash.
Diffstat (limited to 'tools/test')
-rw-r--r-- | tools/test/h5repack/h5repack.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/h5repack/h5repack.sh.in b/tools/test/h5repack/h5repack.sh.in index ad6fef8..5a032cb 100644 --- a/tools/test/h5repack/h5repack.sh.in +++ b/tools/test/h5repack/h5repack.sh.in @@ -629,7 +629,7 @@ DIFFFAIL() $RUNSERIAL $H5DIFF_BIN -q "$@" ) RET=$? - if [ $RET == 0 ] ; then + if [ $RET -eq 0 ] ; then echo "*FAILED*" nerrors="`expr $nerrors + 1`" else |