summaryrefslogtreecommitdiff
path: root/t/lib-bash.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-12-12 14:22:59 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-12-12 14:22:59 -0800
commit694a88a309c74ffeefa9a0db0396ee4c168a521c (patch)
tree79007f8bcf98505df2e4cf423ac7307535c1b2d1 /t/lib-bash.sh
parentMerge branch 'cn/thin-push-capability' (diff)
parentremove #!interpreter line from shell libraries (diff)
downloadtgif-694a88a309c74ffeefa9a0db0396ee4c168a521c.tar.xz
Merge branch 'jn/scripts-updates'
* jn/scripts-updates: remove #!interpreter line from shell libraries test: replace shebangs with descriptions in shell libraries test: make FILEMODE a lazy prereq contrib: remove git-p4import mark contributed hooks executable mark perl test scripts executable mark Windows build scripts executable
Diffstat (limited to 't/lib-bash.sh')
-rw-r--r--t/lib-bash.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/t/lib-bash.sh b/t/lib-bash.sh
index 11397f747b..2be955fafb 100644
--- a/t/lib-bash.sh
+++ b/t/lib-bash.sh
@@ -1,7 +1,6 @@
-#!/bin/sh
-#
-# Ensures that tests are run under Bash; primarily intended for running tests
-# of the completion script.
+# Shell library sourced instead of ./test-lib.sh by tests that need
+# to run under Bash; primarily intended for tests of the completion
+# script.
if test -n "$BASH" && test -z "$POSIXLY_CORRECT"; then
# we are in full-on bash mode