summaryrefslogtreecommitdiff
path: root/t/lib-httpd
diff options
context:
space:
mode:
authorMasaya Suzuki <masayasuzuki@google.com>2019-01-10 19:33:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-10 23:00:56 (GMT)
commite4871cd50c87610469a08b7fa8ef46677d2b8b7b (patch)
tree42737e6f53d315be7ad3709a5b842f4118f1ff01 /t/lib-httpd
parentb79bdd8c1208103f106e9cf7a535b625521b21c9 (diff)
downloadgit-e4871cd50c87610469a08b7fa8ef46677d2b8b7b.zip
git-e4871cd50c87610469a08b7fa8ef46677d2b8b7b.tar.gz
git-e4871cd50c87610469a08b7fa8ef46677d2b8b7b.tar.bz2
test: test GIT_CURL_VERBOSE=1 shows an error
This tests GIT_CURL_VERBOSE shows an error when an URL returns 500. This exercises the code in remote_curl. Signed-off-by: Masaya Suzuki <masayasuzuki@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-httpd')
-rw-r--r--t/lib-httpd/apache.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib-httpd/apache.conf b/t/lib-httpd/apache.conf
index 581c010..cc4b875 100644
--- a/t/lib-httpd/apache.conf
+++ b/t/lib-httpd/apache.conf
@@ -115,6 +115,7 @@ Alias /auth/dumb/ www/auth/dumb/
SetEnv GIT_EXEC_PATH ${GIT_EXEC_PATH}
SetEnv GIT_HTTP_EXPORT_ALL
</LocationMatch>
+ScriptAliasMatch /error_git_upload_pack/(.*)/git-upload-pack error.sh/
ScriptAliasMatch /smart_*[^/]*/(.*) ${GIT_EXEC_PATH}/git-http-backend/$1
ScriptAlias /broken_smart/ broken-smart-http.sh/
ScriptAlias /error/ error.sh/