summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-17 14:38:29 -0700
committerJunio C Hamano <gitster@pobox.com>2016-05-17 14:38:29 -0700
commita736214df3670ac3404b1ba8a4b6759391e75062 (patch)
tree899eead2153ccc0bb4d482903b3e0116b51b319b /t
parent40cfc95856594ddd04ae6ef3bfd041346c4854ec (diff)
parenta75a30816d30fe4ecad346f8f873861eaebfd66f (diff)
downloadgit-a736214df3670ac3404b1ba8a4b6759391e75062.tar.gz
Merge branch 'tb/t5601-sed-fix'
Test fix. * tb/t5601-sed-fix: t5601: Remove trailing space in sed expression
Diffstat (limited to 't')
-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 150aeaf713..a433394200 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
"