diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-04-21 00:28:33 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-04-21 00:28:33 +0200 |
commit | 9718c7c0c2a92585729d0f2e05ebf2c44b0cc56a (patch) | |
tree | d9c7e5dd4ef241b12469e1a80854b5a4d663f65e /t/t5500-fetch-pack.sh | |
parent | Merge branch 'va/fix-git-p4-tests' (diff) | |
parent | connect.c: ignore extra colon after hostname (diff) | |
download | git-9718c7c0c2a92585729d0f2e05ebf2c44b0cc56a.tar.xz git-9718c7c0c2a92585729d0f2e05ebf2c44b0cc56a.zip |
Merge branch 'tb/connect-ipv6-parse-fix'
An earlier update to the parser that disects an address broke an
address, followed by a colon, followed by an empty string (instead
of the port number).
* tb/connect-ipv6-parse-fix:
connect.c: ignore extra colon after hostname
Diffstat (limited to 't/t5500-fetch-pack.sh')
-rwxr-xr-x | t/t5500-fetch-pack.sh | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/t/t5500-fetch-pack.sh b/t/t5500-fetch-pack.sh index 692d71738b..3a9b77576f 100755 --- a/t/t5500-fetch-pack.sh +++ b/t/t5500-fetch-pack.sh @@ -576,13 +576,16 @@ do do for h in host user@host user@[::1] user@::1 do - test_expect_success "fetch-pack --diag-url $p://$h/$r" ' - check_prot_host_port_path $p://$h/$r $p "$h" NONE "/$r" - ' - # "/~" -> "~" conversion - test_expect_success "fetch-pack --diag-url $p://$h/~$r" ' - check_prot_host_port_path $p://$h/~$r $p "$h" NONE "~$r" - ' + for c in "" : + do + test_expect_success "fetch-pack --diag-url $p://$h$c/$r" ' + check_prot_host_port_path $p://$h/$r $p "$h" NONE "/$r" + ' + # "/~" -> "~" conversion + test_expect_success "fetch-pack --diag-url $p://$h$c/~$r" ' + check_prot_host_port_path $p://$h/~$r $p "$h" NONE "~$r" + ' + done done for h in host User@host User@[::1] do |