# [PATCH] cogito: selftests need bash

1 messages from 2006-06-29 to 2006-06-29. Participants: Gerrit Pape.
Thread: https://gitlist.dev/t/4709

## Gerrit Pape, 2006-06-29 08:58

Subject: [PATCH] cogito: selftests need bash
Message-ID: <20060629085831.1415.qmail@f03e02b18ad091.315fe32.mid.smarden.org>
URL: https://gitlist.dev/e/20060629085831.1415.qmail%40f03e02b18ad091.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

```
