[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(-)