Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t5601: Remove trailing space in sed expression
author
Torsten Bögershausen
<tboegi@web.de>
Mon, 9 May 2016 17:53:12 +0000
(19:53 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 9 May 2016 18:39:05 +0000
(11:39 -0700)
The sed expression for IPv6, "Tested User And Host" or "tuah" used a wrong
sed expression, which doesn't work under all versions of sed.
Reported-By: Armin Kunaschik <megabreit@googlemail.com>
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5601-clone.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
7654286
)
diff --git
a/t/t5601-clone.sh
b/t/t5601-clone.sh
index bfdaf75966f7b8bb057e4db0b8791306f6e6a44f..cb5ad72efa48c5e11f44cb8da076a438a7fe8731 100755
(executable)
--- a/
t/t5601-clone.sh
+++ b/
t/t5601-clone.sh
@@
-445,7
+445,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
"