diff options
author | 2014-02-27 14:01:42 -0800 | |
---|---|---|
committer | 2014-02-27 14:01:42 -0800 | |
commit | bd62e7c364fcce7f42862e3aebedffb1c7e24136 (patch) | |
tree | fc35557be6052d3fda9655926986b0b51ac22638 /t/lib-git-daemon.sh | |
parent | Merge branch 'nd/reset-intent-to-add' (diff) | |
parent | tests: auto-set git-daemon port (diff) | |
download | tgif-bd62e7c364fcce7f42862e3aebedffb1c7e24136.tar.xz |
Merge branch 'jk/test-ports'
Avoid having to assign port number to be used in tests manually.
* jk/test-ports:
tests: auto-set git-daemon port
tests: auto-set LIB_HTTPD_PORT from test name
Diffstat (limited to 't/lib-git-daemon.sh')
-rw-r--r-- | t/lib-git-daemon.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-git-daemon.sh b/t/lib-git-daemon.sh index 394b06b32f..1f22de260a 100644 --- a/t/lib-git-daemon.sh +++ b/t/lib-git-daemon.sh @@ -22,7 +22,7 @@ then test_done fi -LIB_GIT_DAEMON_PORT=${LIB_GIT_DAEMON_PORT-'8121'} +LIB_GIT_DAEMON_PORT=${LIB_GIT_DAEMON_PORT-${this_test#t}} GIT_DAEMON_PID= GIT_DAEMON_DOCUMENT_ROOT_PATH="$PWD"/repo |