Merge branch 'ls/p4-keep-empty-commits' into maint
[gitweb.git] / t / t5812-proto-disable-http.sh
index 6a4f81662d816eb1392ce48dda11911a54759565..0d105d54174e061b20707de808b284314f730667 100755 (executable)
@@ -25,5 +25,9 @@ test_expect_success 'curl redirects respect whitelist' '
        }
 '
 
+test_expect_success 'curl limits redirects' '
+       test_must_fail git clone "$HTTPD_URL/loop-redir/smart/repo.git"
+'
+
 stop_httpd
 test_done