# [PATCH] Start all test scripts with /bin/sh.

2 messages from 2007-01-16 to 2007-01-16. Participants: Jason Riedy, Junio C Hamano.
Thread: https://gitlist.dev/t/6395

## Jason Riedy, 2007-01-16 01:31

Subject: [PATCH] Start all test scripts with /bin/sh.
Message-ID: <17448.1168911109@lotus.CS.Berkeley.EDU>
URL: https://gitlist.dev/e/17448.1168911109%40lotus.CS.Berkeley.EDU

```
My bash refused to run the two scripts missing a #!, and it's
better to use the same line for all the scripts.

Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
---
 t/t9102-git-svn-deep-rmdir.sh     |    1 +
 t/t9103-git-svn-graft-branches.sh |    1 +
 t/t9200-git-cvsexportcommit.sh    |    2 +-
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/t/t9102-git-svn-deep-rmdir.sh b/t/t9102-git-svn-deep-rmdir.sh
index 572aaed..4e08083 100755
--- a/t/t9102-git-svn-deep-rmdir.sh
+++ b/t/t9102-git-svn-deep-rmdir.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
 test_description='git-svn rmdir'
 . ./lib-git-svn.sh
 
diff --git a/t/t9103-git-svn-graft-branches.sh b/t/t9103-git-svn-graft-branches.sh
index b5f7677..4e55778 100755
--- a/t/t9103-git-svn-graft-branches.sh
+++ b/t/t9103-git-svn-graft-branches.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
 test_description='git-svn graft-branches'
 . ./lib-git-svn.sh
 
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh
index 315119a..fd0a554 100755
--- a/t/t9200-git-cvsexportcommit.sh
+++ b/t/t9200-git-cvsexportcommit.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Copyright (c) Robin Rosenberg
 #
-- 
1.5.0.rc1.gf4b6c

```

## Junio C Hamano, 2007-01-16 02:57

Subject: Re: [PATCH] Start all test scripts with /bin/sh.
Message-ID: <7vodozzniz.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vodozzniz.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <17448.1168911109@lotus.CS.Berkeley.EDU>

```
Thanks.

```
