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

Solaris 11.3 SPARC grep problem with t1450-fsck.sh

From
MKMichael Kebe <michael.kebe@gmail.com>
Date
Jun 27, 2017, 12:15 UTC
Message-ID
<CAKKM46uJLu+w-UUFZc1HRar3apAD6Db2KD+GjiNL5v+Q2Ni7hA@mail.gmail.com>
Running the test suite on Solaris 11.3 SPARC fails on a test in t1450-fsck.sh.

not ok 60 - fsck --name-objects # # rm -rf name-objects && # git init name-objects && # ( # cd name-objects && # test_commit julius caesar.t && # test_commit augustus && # test_commit caesar && # remove_object $(git rev-parse julius:caesar.t) && # test_must_fail git fsck --name-objects >out && # tree=$(git rev-parse --verify julius:) && # grep "$tree (\(refs/heads/master\|HEAD\)@{[0-9]*}:" out # )

Solaris has /usr/bin/grep and /usr/bin/ggrep. grep is a solaris version and ggrep is the GNU grep.

Replacing grep with ggrep in t1450-fsck.sh script the fixes the problem.

I chatted with Ævar and he thinks that the problem is that configure finds the right grep but it is not properly passed to the tests.

Furthermore I discovered that some tests in t3900-i18n-commit.sh are failing.
e.g.: not ok 17 - ISO-2022-JP should be shown in UTF-8 now
But that's another topic, which I will open once this is fixed.

Greetings Michael

Next: Junio C Hamano
Message 1 of 4 in “Solaris 11.3 SPARC grep problem with t1450-fsck.sh”
  1. Michael KebeJun 27, 2017
  2. Junio C HamanoJun 27, 2017
  3. Michael KebeJun 28, 2017
  4. Junio C HamanoJun 28, 2017

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.