Merge branch 'jc/abbrev-autoscale-config'
[gitweb.git] / t / t5551-http-fetch-smart.sh
index 8d3db405c0f5e1ee020d5fc8bc219860fdf02c3d..a51b7e20d32158d4b6609ba954e2ed59edaa6342 100755 (executable)
@@ -119,6 +119,10 @@ test_expect_success 'redirects re-root further requests' '
        git clone $HTTPD_URL/smart-redir-limited/repo.git repo-redir-limited
 '
 
+test_expect_success 're-rooting dies on insane schemes' '
+       test_must_fail git clone $HTTPD_URL/insane-redir/repo.git insane
+'
+
 test_expect_success 'clone from password-protected repository' '
        echo two >expect &&
        set_askpass user@host pass@host &&