From d5d466aad5a578976138f1817c1371a05e3ebd99 Mon Sep 17 00:00:00 2001 From: Nero <41307858+nero@users.noreply.github.com> Date: Wed, 21 Sep 2022 12:14:45 +0000 Subject: [PATCH] test: == not portable --- test_sh_quote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_sh_quote b/test_sh_quote index 4d42108..dc5d0ca 100755 --- a/test_sh_quote +++ b/test_sh_quote @@ -3,7 +3,7 @@ PROG=${1:-./sh_quote} run_test() { r=$($PROG "$2"|sed 's/^ *//;s/ *$//') - if test "$r" == "$3"; then + if test "$r" = "$3"; then echo PASS "$1" else echo FAIL "$1"