Re: [PATCH] t7403-*.sh: Avoid use of the nonportable '==' operator
From: Junio C Hamano <hidden> Date: 2016-06-15 22:53:55
Ramsay Jones [off-list ref] writes:
Some shells, including dash, do not support using the '==' string
equality operator. This results in the failure of tests 7-12 with
'test' complaining of an "unexpected operator".
Thanks. You do not have to single-out dash.
A shell script that uses "test $a == $b" is *buggy* and not conforming to
POSIX.