Skip to content

Commit 709a957

Browse files
committed
git-remote-testgit: build it to run under $SHELL_PATH
Just like all the other shell scripts, replace the shebang line to make sure it runs under the shell the user specified. As this no longer depends on bashisms, t5801 does not have to say bash must be available somewhere on the system. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 85d501c commit 709a957

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
/git-remote-ftps
126126
/git-remote-fd
127127
/git-remote-ext
128+
/git-remote-testgit
128129
/git-remote-testpy
129130
/git-remote-testsvn
130131
/git-repack

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ SCRIPT_SH += git-mergetool.sh
460460
SCRIPT_SH += git-pull.sh
461461
SCRIPT_SH += git-quiltimport.sh
462462
SCRIPT_SH += git-rebase.sh
463+
SCRIPT_SH += git-remote-testgit.sh
463464
SCRIPT_SH += git-repack.sh
464465
SCRIPT_SH += git-request-pull.sh
465466
SCRIPT_SH += git-stash.sh
File renamed without changes.

t/t5801-remote-helpers.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ test_description='Test remote-helper import and export commands'
77

88
. ./test-lib.sh
99

10-
if ! type "${BASH-bash}" >/dev/null 2>&1; then
11-
skip_all='skipping remote-testgit tests, bash not available'
12-
test_done
13-
fi
14-
1510
compare_refs() {
1611
git --git-dir="$1/.git" rev-parse --verify $2 >expect &&
1712
git --git-dir="$3/.git" rev-parse --verify $4 >actual &&

0 commit comments

Comments
 (0)