Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-07-31 00:46:43 +0300
committerJunio C Hamano <gitster@pobox.com>2017-07-31 00:46:43 +0300
commit7720c33f632c2d67b53169030a7ed2e0e6ae8fde (patch)
tree7132d4b21e8be0e2dd1bc322f092b96e1426c488 /t/t5532-fetch-proxy.sh
parentcd0887327544ecdc8778e16219aec3f43b0dd682 (diff)
parent5e0649dc65fe33e8cf38823350e9d7951f6a6346 (diff)
Merge tag 'v2.7.6' into maint-2.8
Git 2.7.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 51c9669398..9c2798603b 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