# [PATCH] fix "test: 2: unexpected operator" on bsd

1 messages from 2006-02-12 to 2006-02-12. Participants: Alex Riesen.
Thread: https://gitlist.dev/t/3311

## Alex Riesen, 2006-02-12 18:03

Subject: [PATCH] fix "test: 2: unexpected operator" on bsd
Message-ID: <20060212180316.GA3322@steel.home>
URL: https://gitlist.dev/e/20060212180316.GA3322%40steel.home

```
---

 t/t0000-basic.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

4ce9a3f9fe30e091411811a905cccbffcb45ee58
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
index bc3e711..c339a36 100755
--- a/t/t0000-basic.sh
+++ b/t/t0000-basic.sh
@@ -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.'
-- 
1.1.6.gd46b

```
