git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* t5601-clone.sh failures
@ 2016-05-09 17:10 Armin Kunaschik
  2016-05-09 17:53 ` [PATCH v1 1/1] t5601: Remove trailing space in sed expression tboegi
  0 siblings, 1 reply; 3+ messages in thread
From: Armin Kunaschik @ 2016-05-09 17:10 UTC (permalink / raw)
  To: Git List

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
        "
done

I 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-09 18:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-09 17:10 t5601-clone.sh failures Armin Kunaschik
2016-05-09 17:53 ` [PATCH v1 1/1] t5601: Remove trailing space in sed expression tboegi
2016-05-09 18:38   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).