Merge branch 'tb/t5601-sed-fix' into maint
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2016 20:17:15 +0000 (13:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2016 20:17:15 +0000 (13:17 -0700)
Test fix.

* tb/t5601-sed-fix:
t5601: Remove trailing space in sed expression

t/t5601-clone.sh
index c1efb8e445402cccdddda987e1eafad4d4bb75f9..1789d0be3d2c7b1841d5203f7bc11e05651ad886 100755 (executable)
@@ -466,7 +466,7 @@ test_expect_success 'clone ssh://host.xz:22/~repo' '
 #IPv6
 for tuah in ::1 [::1] [::1]: user@::1 user@[::1] user@[::1]: [user@::1] [user@::1]:
 do
-       ehost=$(echo $tuah | sed -e "s/1]:/1]/ "| tr -d "[]")
+       ehost=$(echo $tuah | sed -e "s/1]:/1]/| tr -d "[]")
        test_expect_success "clone ssh://$tuah/home/user/repo" "
          test_clone_url ssh://$tuah/home/user/repo $ehost /home/user/repo
        "