summaryrefslogtreecommitdiff
path: root/t/t5601-clone.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-05-26 13:17:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-26 13:17:15 -0700
commit86a1d147e85961f092b4c3483666372e789f8139 (patch)
treecbd9a5c7c0180663b18ddf266c23493b5c3aa39e /t/t5601-clone.sh
parentMerge branch 'va/i18n-remote-comment-to-align' into maint (diff)
parentt5601: Remove trailing space in sed expression (diff)
downloadtgif-86a1d147e85961f092b4c3483666372e789f8139.tar.xz
Merge branch 'tb/t5601-sed-fix' into maint
Test fix. * tb/t5601-sed-fix: t5601: Remove trailing space in sed expression
Diffstat (limited to 't/t5601-clone.sh')
-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
"