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

Re: [PATCH] Skip unwritable tests for root

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 30, 2008, 09:08 UTC
Message-ID
<7vabh31e9p.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1214809551-14603-1-git-send-email-ferdy@ferdyx.org>
"Fernando J. Pereda" <ferdy@ferdyx.org> writes:
> Signed-off-by: Fernando J. Pereda <ferdy@ferdyx.org>

Hmm. Actually we've deliberately ignored this so far. If we were to do anything, don't we rather want to fail everything upfront when the tests are run by root?

Running "make" and "make test" before "make install" is so that you have less chance hurting your running system, and I find it simply crazy to build (i.e. "make all") as root, let alone running tests.

Previous: Jakub NarebskiNext: Fernando J. Pereda
Message 3 of 5 in “Skip unwritable tests for root”
  1. Skip unwritable tests for rootFernando J. Pereda, Jun 30, 2008
  2. Jakub NarebskiJun 30, 2008
  3. Junio C HamanoJun 30, 2008
  4. Fernando J. PeredaJun 30, 2008
  5. Lea WiemannJul 7, 2008

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.