git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: git@vger.kernel.org
Cc: Sylvain Rabot <sylvain@abstraction.fr>,
	"Robin H. Johnson" <robbat2@gentoo.org>,
	"Fernando J. Pereda" <ferdy@ferdyx.org>,
	Lea Wiemann <lewiemann@gmail.com>,
	Panagiotis Issaris <takis@issaris.org>,
	Mike Hommey <mh@glandium.org>, Marco Nelissen <marcone@xs4all.nl>
Subject: [PATCH 0/3] running tests as fakeroot
Date: Wed, 21 Apr 2010 08:12:55 -0500	[thread overview]
Message-ID: <20100421131255.GA2750@progeny.tock> (raw)

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

             reply	other threads:[~2010-04-21 13:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21 13:12 Jonathan Nieder [this message]
2010-04-21 13:38 ` [PATCH 1/3] test-lib: tests can have multiple prerequisites Jonathan Nieder
2010-04-21 14:57   ` Jonathan Nieder
2010-04-26 19:17   ` Jeff King
2010-04-27  0:06     ` Junio C Hamano
2010-04-27  1:25       ` Jeff King
2010-04-21 13:44 ` [PATCH 2/3] t1004 (read-tree): the unremovable symlink test requires POSIXPERM Jonathan Nieder
2010-04-21 14:20 ` [PATCH 3/3] Permit tests to be run as a (fake) root user Jonathan Nieder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100421131255.GA2750@progeny.tock \
    --to=jrnieder@gmail.com \
    --cc=ferdy@ferdyx.org \
    --cc=git@vger.kernel.org \
    --cc=lewiemann@gmail.com \
    --cc=marcone@xs4all.nl \
    --cc=mh@glandium.org \
    --cc=robbat2@gentoo.org \
    --cc=sylvain@abstraction.fr \
    --cc=takis@issaris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).