summaryrefslogtreecommitdiff
path: root/t/lib-httpd.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-05-22 05:29:03 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-05-23 12:43:51 -0700
commitdbcf2bd3dec1244fdbafb3ec7312ed14d83c0025 (patch)
tree123631e429deedf2f9d277608a22c37a6fb5336f /t/lib-httpd.sh
parentt/lib-httpd: use write_script to copy CGI scripts (diff)
downloadtgif-dbcf2bd3dec1244fdbafb3ec7312ed14d83c0025.tar.xz
t5550: test display of remote http error messages
Since commit 426e70d (remote-curl: show server content on http errors, 2013-04-05), we relay any text/plain error messages from the remote server to the user. However, we never tested it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-httpd.sh')
-rw-r--r--t/lib-httpd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh
index 8e680efbf0..f7640bee9a 100644
--- a/t/lib-httpd.sh
+++ b/t/lib-httpd.sh
@@ -113,6 +113,7 @@ prepare_httpd() {
mkdir -p "$HTTPD_DOCUMENT_ROOT_PATH"
cp "$TEST_PATH"/passwd "$HTTPD_ROOT_PATH"
install_script broken-smart-http.sh
+ install_script error.sh
ln -s "$LIB_HTTPD_MODULE_PATH" "$HTTPD_ROOT_PATH/modules"