Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
set httpd port before sourcing lib-httpd
author
Clemens Buchacher
<drizzd@aon.at>
Sat, 31 Oct 2009 00:47:45 +0000
(17:47 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 5 Nov 2009 01:58:16 +0000
(17:58 -0800)
If LIB_HTTPD_PORT is not set already, lib-httpd will set it to the
default 8111.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5540-http-push.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
eeb3aed
)
diff --git
a/t/t5540-http-push.sh
b/t/t5540-http-push.sh
index 28a746e5b94c6f3c69939afe7c377bfe65185212..d1234f9feff52c6788555e9086ec293d8a655b1e 100755
(executable)
--- a/
t/t5540-http-push.sh
+++ b/
t/t5540-http-push.sh
@@
-9,17
+9,16
@@
This test runs various sanity checks on http-push.'
. ./test-lib.sh
-ROOT_PATH="$PWD"
-LIB_HTTPD_DAV=t
-LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'5540'}
-
if git http-push > /dev/null 2>&1 || [ $? -eq 128 ]
then
say "skipping test, USE_CURL_MULTI is not defined"
test_done
fi
+LIB_HTTPD_DAV=t
+LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'5540'}
. "$TEST_DIRECTORY"/lib-httpd.sh
+ROOT_PATH="$PWD"
start_httpd
test_expect_success 'setup remote repository' '