summaryrefslogtreecommitdiff
path: root/t/lib-git-daemon.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-03-28 13:52:20 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-28 13:52:20 -0700
commitc34aa34299cac5223e5882d481e958ccbb83f21f (patch)
tree1fa9583a28222634e850c33ff6c041df4bd2f820 /t/lib-git-daemon.sh
parentMerge branch 'jt/perf-updates' into maint (diff)
parentt/interop: add test of old clients against modern git-daemon (diff)
downloadtgif-c34aa34299cac5223e5882d481e958ccbb83f21f.tar.xz
Merge branch 'jk/interop-test' into maint
Picking two versions of Git and running tests to make sure the older one and the newer one interoperate happily has now become possible. * jk/interop-test: t/interop: add test of old clients against modern git-daemon t: add an interoperability test harness
Diffstat (limited to 't/lib-git-daemon.sh')
-rw-r--r--t/lib-git-daemon.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib-git-daemon.sh b/t/lib-git-daemon.sh
index f9cbd47931..987d40680b 100644
--- a/t/lib-git-daemon.sh
+++ b/t/lib-git-daemon.sh
@@ -46,7 +46,8 @@ start_git_daemon() {
say >&3 "Starting git daemon ..."
mkfifo git_daemon_output
- git daemon --listen=127.0.0.1 --port="$LIB_GIT_DAEMON_PORT" \
+ ${LIB_GIT_DAEMON_COMMAND:-git daemon} \
+ --listen=127.0.0.1 --port="$LIB_GIT_DAEMON_PORT" \
--reuseaddr --verbose \
--base-path="$GIT_DAEMON_DOCUMENT_ROOT_PATH" \
"$@" "$GIT_DAEMON_DOCUMENT_ROOT_PATH" \