summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-28 14:54:06 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-07-07 15:49:55 (GMT)
commitf68226ed892d8a0536900e568a8308bb60673afc (patch)
treef0d588b1c617196f4918cbfac9347f05b25ea47c /tools
parentd553bd4bf3d654268a3cf1b273d9abd34db3f9d4 (diff)
downloadhdf5-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')
-rw-r--r--tools/test/h5repack/h5repack.sh.in2
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