X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft5551-http-fetch.sh;h=26d355725f5e8d317c71cb466ea091ec8f741d63;hb=HEAD;hp=fd19121372aecc0806e17e62d639855f391045d3;hpb=4cd1b99c32d9a345438d098f37e75077d072778f;p=git.git diff --git a/t/t5551-http-fetch.sh b/t/t5551-http-fetch.sh index fd1912137..26d355725 100755 --- a/t/t5551-http-fetch.sh +++ b/t/t5551-http-fetch.sh @@ -101,5 +101,13 @@ test_expect_success 'used upload-pack service' ' test_cmp exp act ' +test_expect_success 'follow redirects (301)' ' + git clone $HTTPD_URL/smart-redir-perm/repo.git --quiet repo-p +' + +test_expect_success 'follow redirects (302)' ' + git clone $HTTPD_URL/smart-redir-temp/repo.git --quiet repo-t +' + stop_httpd test_done