From 988aad99b44f3fb3f04f4a75cadf0dbb7ac89ffe Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Mon, 27 Feb 2023 17:20:18 +0000 Subject: t5563: add tests for basic and anoymous HTTP access Add a test showing simple anoymous HTTP access to an unprotected repository, that results in no credential helper invocations. Also add a test demonstrating simple basic authentication with simple credential helper support. Leverage a no-parsed headers (NPH) CGI script so that we can directly control the HTTP responses to simulate a multitude of good, bad and ugly remote server implementations around auth. Signed-off-by: Matthew John Cheetham Signed-off-by: Junio C Hamano --- t/lib-httpd.sh | 1 + 1 file changed, 1 insertion(+) (limited to 't/lib-httpd.sh') diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh index 608949ea80..2c49569f67 100644 --- a/t/lib-httpd.sh +++ b/t/lib-httpd.sh @@ -137,6 +137,7 @@ prepare_httpd() { install_script error-smart-http.sh install_script error.sh install_script apply-one-time-perl.sh + install_script nph-custom-auth.sh ln -s "$LIB_HTTPD_MODULE_PATH" "$HTTPD_ROOT_PATH/modules" -- cgit v1.3-6-g1900