Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/blame-config-doc' into maint
[gitweb.git]
/
t
/
t5532-fetch-proxy.sh
diff --git
a/t/t5532-fetch-proxy.sh
b/t/t5532-fetch-proxy.sh
index 51c9669398a01bab0b59174ec6ec1be92c3f21fe..9c2798603b4d7b4a3db135febedc71e8cea23635 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