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

[PATCH 0/2] solaris test fixups

From
Jeff King <peff@peff.net>
Date
Jan 23, 2014, 19:54 UTC
Message-ID
<20140123195404.GA31314@sigill.intra.peff.net>

Due to the alignment bug in another thread, I had the pleasure of visiting my old friend Solaris 9 today. The tests _almost_ all run out of the box.

This series features two minor fixes:
  [1/2]: t7501: fix "empty commit" test with NO_PERL
  [2/2]: t7700: do not use "touch -r"

I had a few other failures related to encodings; I suspect the problem is simply that the machine in question doesn't have eucJP support at all.

The big one that I did not fix is in t7001-mv. We do this:
  test_must_fail git mv some-file no-such-dir/

and assume that it will fail. It doesn't. Solaris happily renames some-file to a regular file named "no-such-dir". So we fail later during the index-update, complaining about adding the entry "no-such-dir/", but still exit(0) at the end. I'm mostly willing to just call Solaris crazy for allowing the rename (Linux returns ENOTDIR), but I do wonder if the index codepath could be improved (and especially to return an error).

-Peff
Next: Jeff King
Message 1 of 9 in “solaris test fixups”
  1. 0/2 solaris test fixupsJeff King, Jan 23, 2014
  2. 1/2 t7501: fix "empty commit" test with NO_PERLJeff King, Jan 23, 2014
  3. 2/2 t7700: do not use "touch -r"Jeff King, Jan 23, 2014
  4. Junio C HamanoJan 23, 2014
  5. Jeff KingJan 23, 2014
  6. Junio C HamanoJan 23, 2014
  7. Jeff KingJan 23, 2014
  8. Junio C HamanoJan 23, 2014
  9. Jeff KingJan 23, 2014

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.