threads / patch / 4709

patchcogito: selftests need bash

Subject: [PATCH] cogito: selftests need bash

## tl;dr

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

replies: 0people: 1as markdown or json

Gerrit Pape· Jun 29, 2006, 08:58 UTC · lore
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
Show changes to t/Makefile +1 −1
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

← back to recent threads