]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
add basic http clone/fetch tests
authorJeff King <peff@peff.net>
Wed, 25 Feb 2009 08:32:09 +0000 (03:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Feb 2009 08:49:44 +0000 (00:49 -0800)
commit119c8eeede81489b2ce8b26ae7dcb47290e257eb
tree1d4150f0f0f7bbfc98015e140a5c1e5f4b818bf7
parent75318a3bad4b7a25f617217891bfbcec26a9161a
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>
Makefile
t/t5540-http-push.sh
t/t5550-http-fetch.sh [new file with mode: 0755]