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

[Possible Breakage] t1308 - Bad return value from test-tool

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Feb 8, 2019, 21:42 UTC
Message-ID
<004901d4bff7$2e17dc50$8a4794f0$@nexbridge.com>

t1308 has me perplexed - this is an old breakage on the NonStop platform, that I have just gotten around to checking with the new bash version we have. When running sub-test 23, the following was reported:

Value not found for "foo.bar" test_expect_code: command exited with 1, we wanted 2 test-tool config configset_get_value foo.bar a-directory

However, when I looked inside t/helper/test-config.c, every path reporting "Value not found" has a goto exit1 not exit2. It seems, from the code, that the test is actually incorrect and should be expecting 1 not 2, and that it is working properly on NonStop (but the test fails as a result).

What is perplexing is that someone else should be seeing this. The test-config.c code is about 5 years old, but the test was modified a year or two ago. What am I missing here?

Cheers, Randall

Next: Jeff King
Message 1 of 5 in “[Possible Breakage] t1308 - Bad return value from test-tool”
  1. Randall S. BeckerFeb 8, 2019
  2. Jeff KingFeb 9, 2019
  3. Randall S. BeckerFeb 9, 2019
  4. Jeff KingFeb 9, 2019
  5. Randall S. BeckerFeb 10, 2019

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.