threads / patch / 3311

patchfix "test: 2: unexpected operator" on bsd

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

## tl;dr

One message between Feb 12, 2006 and Feb 12, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alex Riesen· Feb 12, 2006, 18:03 UTC · lore
---
 t/t0000-basic.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
4ce9a3f9fe30e091411811a905cccbffcb45ee58
Show changes to t/t0000-basic.sh +1 −1
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

← back to recent threads