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

[PATCH] cogito: selftests need bash

From
Gerrit Pape <pape@smarden.org>
Date
Jun 29, 2006, 08:58 UTC
Message-ID
<20060629085831.1415.qmail@f03e02b18ad091.315fe32.mid.smarden.org>
Force bash for selftest scripts, as they fail with posix sh.
Signed-off-by: Gerrit Pape <pape@smarden.org>
---
 t/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
0f3a68d543ebb55564bb4edca8a26722f6de8da8
diff --git a/t/Makefile b/t/Makefile
index 6882e23..b8e6eec 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -8,7 +8,7 @@ #GIT_TEST_OPTS=--verbose --debug
 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
 
 all:
-	@$(foreach t,$T,echo "*** $t ***"; sh $t $(GIT_TEST_OPTS) || exit; )
+	@$(foreach t,$T,echo "*** $t ***"; bash $t $(GIT_TEST_OPTS) || exit; )
 	@rm -fr trash
 
 clean:
-- 
1.3.3
Message 1 of 1 in “cogito: selftests need bash”
  1. cogito: selftests need bashGerrit Pape, Jun 29, 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.