summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-26 13:17:15 -0700
committerJunio C Hamano <gitster@pobox.com>2016-05-26 13:17:15 -0700
commit86a1d147e85961f092b4c3483666372e789f8139 (patch)
treecbd9a5c7c0180663b18ddf266c23493b5c3aa39e
parent6db5205148124cec7dacf4b7ef2df81b6a012d12 (diff)
parenta75a30816d30fe4ecad346f8f873861eaebfd66f (diff)
downloadgit-86a1d147e85961f092b4c3483666372e789f8139.tar.gz
Merge branch 'tb/t5601-sed-fix' into maint
Test fix. * tb/t5601-sed-fix: t5601: Remove trailing space in sed expression
-rwxr-xr-xt/t5601-clone.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh
index c1efb8e445..1789d0be3d 100755
--- a/t/t5601-clone.sh
+++ b/t/t5601-clone.sh
@@ -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
"