summaryrefslogtreecommitdiff
path: root/t/t5540-http-push.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2009-02-25 08:32:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-26 08:49:44 (GMT)
commit119c8eeede81489b2ce8b26ae7dcb47290e257eb (patch)
tree1d4150f0f0f7bbfc98015e140a5c1e5f4b818bf7 /t/t5540-http-push.sh
parent75318a3bad4b7a25f617217891bfbcec26a9161a (diff)
downloadgit-119c8eeede81489b2ce8b26ae7dcb47290e257eb.zip
git-119c8eeede81489b2ce8b26ae7dcb47290e257eb.tar.gz
git-119c8eeede81489b2ce8b26ae7dcb47290e257eb.tar.bz2
add basic http clone/fetch tests
This was mostly being tested implicitly by the "http push" tests. But making a separate test script means that: - we will run fetch tests even when http pushing support is not built - when there are failures on fetching, they are easier to see and isolate, as they are not in the middle of push tests This script defaults to running the webserver on port 5550, and puts the original t5540 on port 5540, so that the two can be run simultaneously without conflict (but both still respect an externally set LIB_HTTPD_PORT). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5540-http-push.sh')
-rwxr-xr-xt/t5540-http-push.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t5540-http-push.sh b/t/t5540-http-push.sh
index 57a4411..cefab45 100755
--- a/t/t5540-http-push.sh
+++ b/t/t5540-http-push.sh
@@ -11,6 +11,7 @@ This test runs various sanity checks on http-push.'
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