fix "test: 2: unexpected operator" on bsd
authorAlex Riesen <raa.lkml@gmail.com>
Sun, 12 Feb 2006 18:03:16 +0000 (19:03 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 12 Feb 2006 19:36:17 +0000 (11:36 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t0000-basic.sh

index bc3e711..c339a36 100755 (executable)
@@ -33,7 +33,7 @@ then
 fi
 
 merge >/dev/null 2>/dev/null
-if test $? == 127
+if test $? = 127
 then
        echo >&2 'You do not seem to have "merge" installed.
 Please check INSTALL document.'