From: Junio C Hamano Date: Sun, 27 May 2012 06:53:33 GMT Subject: Re: [PATCH] t7403-*.sh: Avoid use of the nonportable '==' operator Message-ID: <7vfwamp11u.fsf@alter.siamese.dyndns.org> In-Reply-To: <4FC10A0B.5080407@ramsay1.demon.co.uk> Ramsay Jones 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.