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

various fixes to the test library

From
Clemens Buchacher <drizzd@aon.at>
Date
Jun 1, 2009, 12:14 UTC
Message-ID
<1243858482-6353-1-git-send-email-drizzd@aon.at>

If a http test failed, and the test was run with --immediate, the cleanup code would not be executed and stale web server instance were left behind. This is fixed by 2/3.

Clemens

[PATCH 1/3] test-lib: fail if invalid options are passed [PATCH 2/3] test-lib: allow exit trap to be used for cleanup by tests [PATCH 3/3] test-lib: fix http exit codes

 t/lib-httpd.sh |    6 ++++--
 t/test-lib.sh  |   23 +++++++++++++++--------
 2 files changed, 19 insertions(+), 10 deletions(-)
Next: Clemens Buchacher
Message 1 of 5 in “various fixes to the test library”
  1. Clemens BuchacherJun 1, 2009
  2. 1/3 test-lib: fail if invalid options are passedClemens Buchacher, Jun 1, 2009
  3. 2/3 test-lib: allow exit trap to be used for cleanup by testsClemens Buchacher, Jun 1, 2009
  4. 3/3 test-lib: fix http exit codesClemens Buchacher, Jun 1, 2009
  5. Clemens BuchacherJun 1, 2009

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.