projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.14.4
[platform/upstream/git.git]
/
t
/
t5532-fetch-proxy.sh
diff --git
a/t/t5532-fetch-proxy.sh
b/t/t5532-fetch-proxy.sh
index
51c9669
..
9c27986
100755
(executable)
--- 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