git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
        "
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
Next: tboegi@web.de
Message 1 of 3 in “t5601-clone.sh failures”
  1. Armin KunaschikMay 9, 2016
  2. 1/1 t5601: Remove trailing space in sed expressiontboegi@web.de, May 9, 2016
  3. Junio C HamanoMay 9, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.