threads / patch / 6395

patchStart all test scripts with /bin/sh.

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

## tl;dr

2 messages between Jan 16, 2007 and Jan 16, 2007. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Jason Riedy· Jan 16, 2007, 01:31 UTC · lore

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(-)
Show changes to 3 files +3 −1

t/t9102-git-svn-deep-rmdir.sh, t/t9103-git-svn-graft-branches.sh, t/t9200-git-cvsexportcommit.sh

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

← back to recent threads