t7610: always work on a test-specific branch
[gitweb.git] / t / t5551-http-fetch-smart.sh
index 1ec5b2747a2100d3ae043cde5a2436eed2d52aec..6e5b9e42fb6d3f8c25c1a08388c4eb5ec3284500 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 &&