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 <gitster@pobox.com>
Junio C Hamano committed
Apr 26, 2013 at 16:30 UTC
709a957d9493cbdd457d02bfada067c9b3ccc253
4 files changed
+2
-5
.gitignore
+1
@@ -125,6 +125,7 @@
125
/git-remote-ftps
126
/git-remote-fd
127
/git-remote-ext
128
+/git-remote-testgit
129
/git-remote-testpy
130
/git-remote-testsvn
131
/git-repack
Makefile
+1
@@ -460,6 +460,7 @@ SCRIPT_SH += git-mergetool.sh
460
SCRIPT_SH += git-pull.sh
461
SCRIPT_SH += git-quiltimport.sh
462
SCRIPT_SH += git-rebase.sh
463
+SCRIPT_SH += git-remote-testgit.sh
464
SCRIPT_SH += git-repack.sh
465
SCRIPT_SH += git-request-pull.sh
466
SCRIPT_SH += git-stash.sh
git-remote-testgit.sh
renamed
t/t5801-remote-helpers.sh
-5
@@ -7,11 +7,6 @@ test_description='Test remote-helper import and export commands'
7
8
. ./test-lib.sh
9
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
-
10
compare_refs() {
11
git --git-dir="$1/.git" rev-parse --verify $2 >expect &&
12
git --git-dir="$3/.git" rev-parse --verify $4 >actual &&