aboutsummaryrefslogtreecommitdiff
path: root/t/t5532-fetch-proxy.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-07-30 14:52:14 -0700
committerJunio C Hamano <gitster@pobox.com>2017-07-30 14:52:14 -0700
commitaf0178aec7c38cb17bc641bc361656cc90bc6b79 (patch)
tree0d26db4f796c29dd208ceb567f2022bad65c7ca1 /t/t5532-fetch-proxy.sh
parentd61226c1118f749280c050555d83560ca0f3bf71 (diff)
parent8d7f72f176ea133c16e55f386a0b79a1cd46ff69 (diff)
downloadgit-af0178aec7c38cb17bc641bc361656cc90bc6b79.tar.gz
git-af0178aec7c38cb17bc641bc361656cc90bc6b79.tar.xz
Merge tag 'v2.8.6' into maint-2.9
Git 2.8.6
Diffstat (limited to 't/t5532-fetch-proxy.sh')
-rwxr-xr-xt/t5532-fetch-proxy.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t5532-fetch-proxy.sh b/t/t5532-fetch-proxy.sh
index 51c966939..9c2798603 100755
--- a/t/t5532-fetch-proxy.sh
+++ b/t/t5532-fetch-proxy.sh
@@ -43,4 +43,9 @@ test_expect_success 'fetch through proxy works' '
test_cmp expect actual
'
+test_expect_success 'funny hostnames are rejected before running proxy' '
+ test_must_fail git fetch git://-remote/repo.git 2>stderr &&
+ ! grep "proxying for" stderr
+'
+
test_done