t5601-clone.sh failures
- From
Armin Kunaschik <megabreit@googlemail.com>
- Date
- May 9, 2016, 17:10 UTC
- Message-ID
- <CALR6jEhTTo-6fgy3_TnGseXJr2OZM+cK+t4BCVEzpCZNfhn5Bg@mail.gmail.com>
Hi list,
eight t5601 tests don't run with my version of sed. The reason is a trailing space in the sed expression. See below:
#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 "[]")
test_expect_success "clone ssh://$tuah/home/user/repo" "
test_clone_url ssh://$tuah/home/user/repo $ehost /home/user/repo
"
doneI can not imagine a reason why there should be a space character... The tests run fine here without the space. When there isn't any reason, the trailing space should be removed.
Armin