summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-05-17 14:38:29 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-17 14:38:29 -0700
commita736214df3670ac3404b1ba8a4b6759391e75062 (patch)
tree899eead2153ccc0bb4d482903b3e0116b51b319b
parentMerge branch 'nd/error-errno' (diff)
parentt5601: Remove trailing space in sed expression (diff)
downloadtgif-a736214df3670ac3404b1ba8a4b6759391e75062.tar.xz
Merge branch 'tb/t5601-sed-fix'
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 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
"