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

[PATCH 0/3] running tests as fakeroot

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Apr 21, 2010, 13:12 UTC
Message-ID
<20100421131255.GA2750@progeny.tock>
Hi,

The Debian build system makes it very tempting to build as fakeroot: basically, one has a choice of

  debian/rules build
  fakeroot debian/rules binary
or just
  fakeroot debian/rules binary

to build a .deb from the current sources. I hadn’t succumbed to temptation until today; but now that I have, I want to fix it. I’ll discuss whether this is a good idea more in patch 3.

Patches 1 and 2 are a bit simpler. Patch 1 allows tests to have multiple prerequisites, which seems like a good idea generally; patch 2 adds a missing POSIXPERM prerequisite to an existing test.

I hope you like the patches. Sorry for the huge cc list; I did a quick search to find people interested one way or another, and aparently there are many. I am sending patches 1 and 2 only to the git list to avoid making the problem worse.

Thoughts?
Jonathan Nieder (3):
  test-lib: tests can have multiple prerequisites
  t1004 (read-tree): the unremovable symlink test requires POSIXPERM
  Permit tests to be run as a (fake) root user
 t/t1004-read-tree-m-u-wf.sh |    2 +-
 t/test-lib.sh               |   22 ++++++++++++++--------
 2 files changed, 15 insertions(+), 9 deletions(-)
Next: Jonathan Nieder
Message 1 of 8 in “running tests as fakeroot”
  1. 0/3 running tests as fakerootJonathan Nieder, Apr 21, 2010
  2. 1/3 test-lib: tests can have multiple prerequisitesJonathan Nieder, Apr 21, 2010
  3. Jonathan NiederApr 21, 2010
  4. Jeff KingApr 26, 2010
  5. Junio C HamanoApr 27, 2010
  6. Jeff KingApr 27, 2010
  7. 2/3 t1004 (read-tree): the unremovable symlink test requires POSIXPERMJonathan Nieder, Apr 21, 2010
  8. 3/3 Permit tests to be run as a (fake) root userJonathan Nieder, Apr 21, 2010

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.