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

Re: [PATCH] Skip unwritable tests for root

From
Fernando J. Pereda <ferdy@ferdyx.org>
Date
Jun 30, 2008, 09:27 UTC
Message-ID
<20080630092735.GA10979@ferdyx.org>
In-Reply-To
<7vabh31e9p.fsf@gitster.siamese.dyndns.org>
On Mon, Jun 30, 2008 at 02:08:18AM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> "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.
*nod*

This originated because Gentoo can be told to build stuff as root (and run test as root) under a sandbox. Since I already had the patch locally, I guessed you might be interested in it and just sent it.

I'll just apply it locally.
- ferdy
Previous: Junio C HamanoNext: Lea Wiemann
Message 4 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.