Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help