test: == not portable
This commit is contained in:
parent
c75cbff329
commit
d5d466aad5
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user