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

Re: [PATCH] t7300: mark test with SANITY

From
Jeff King <peff@peff.net>
Date
May 3, 2016, 19:04 UTC
Message-ID
<20160503190417.GD30530@sigill.intra.peff.net>
In-Reply-To
<1462301672-20866-1-git-send-email-sbeller@google.com>
On Tue, May 03, 2016 at 11:54:32AM -0700, Stefan Beller wrote:
> As the test runs `chmod 0` on a file, we don't want to run that test
> as root.

This somehow misses the root (no pun intended) of the issue, to me. Perhaps:

  We `chmod 0` a file and test a case where git is unable to read it.
  If the test is run as root, the permissions are ignored, and our
  simulated read failure does not happen.
The patch itself looks obviously correct. :)
-Peff
Previous: Stefan BellerNext: Junio C Hamano
Message 2 of 7 in “t7300: mark test with SANITY”
  1. t7300: mark test with SANITYStefan Beller, May 3, 2016
  2. Jeff KingMay 3, 2016
  3. Junio C HamanoMay 3, 2016
  4. Junio C HamanoMay 3, 2016
  5. Jeff KingMay 3, 2016
  6. Junio C HamanoMay 3, 2016
  7. Jeff KingMay 3, 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.