$NetBSD: patch-tools_test_h5jam_testh5jam.sh.in,v 1.2 2020/01/08 12:30:34 nia Exp $ Use portable "=" to test string equality. --- tools/test/h5jam/testh5jam.sh.in.orig 2019-12-19 16:38:30.000000000 +0000 +++ tools/test/h5jam/testh5jam.sh.in @@ -474,9 +474,9 @@ UNJAMTEST () { # TOOLTEST_OUTPUT() { - if [ "$1" == "JAM" ]; then + if [ "$1" = "JAM" ]; then TOOLCMD=$JAM_BIN/$JAM - elif [ "$1" == "UNJAM" ]; then + elif [ "$1" = "UNJAM" ]; then TOOLCMD=$JAM_BIN/$UNJAM fi shift