git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Alex Riesen <raa.lkml@gmail.com>
Date
Feb 12, 2006, 18:03 UTC
Message-ID
<20060212180316.GA3322@steel.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
Message 1 of 1 in “fix "test: 2: unexpected operator" on bsd”
  1. fix "test: 2: unexpected operator" on bsdAlex Riesen, Feb 12, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.