http-push: add regression tests
authorClemens Buchacher <drizzd@aon.at>
Wed, 27 Feb 2008 19:28:45 +0000 (20:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Feb 2008 23:38:40 +0000 (15:38 -0800)
commitfaa4bc35a05ddb1822f3770cd8c51859e3b929ee
tree99a87c25116ab1de7cbdec6c7a17f93e8226fd4a
parent6eaf40608dfe0c23aa990a8c7d4a135df1af3cab
http-push: add regression tests

http-push tests require a web server with WebDAV support.

This commit introduces a HTTPD test library, which can be configured using
the following environment variables.

GIT_TEST_HTTPD enable HTTPD tests
LIB_HTTPD_PATH web server path
LIB_HTTPD_MODULE_PATH web server modules path
LIB_HTTPD_PORT listening port
LIB_HTTPD_DAV enable DAV
LIB_HTTPD_SVN enable SVN
LIB_HTTPD_SSL enable SSL

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-httpd.sh [new file with mode: 0644]
t/lib-httpd/apache.conf [new file with mode: 0644]
t/lib-httpd/ssl.cnf [new file with mode: 0644]
t/t5540-http-push.sh [new file with mode: 0755]
t/test-lib.sh