From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L2wnp-0004rP-DO for garchives@archives.gentoo.org; Wed, 19 Nov 2008 23:49:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5114E0266; Wed, 19 Nov 2008 23:49:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BFB9DE0266 for ; Wed, 19 Nov 2008 23:49:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 9AD5E645D5 for ; Wed, 19 Nov 2008 23:49:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.06 X-Spam-Level: X-Spam-Status: No, score=-3.06 required=5.5 tests=[AWL=0.539, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ph+32pfKWkhj for ; Wed, 19 Nov 2008 23:49:35 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id E9AC3642FF for ; Wed, 19 Nov 2008 23:49:32 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L2wnW-0007nv-FK for gentoo-dev@gentoo.org; Wed, 19 Nov 2008 23:49:26 +0000 Received: from ppp-13-236.21-151.libero.it ([151.21.236.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2008 23:49:26 +0000 Received: from flameeyes by ppp-13-236.21-151.libero.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2008 23:49:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: flameeyes@gmail.com (Diego E. 'Flameeyes' =?utf-8?Q?Petten=C3=B2?=) Subject: [gentoo-dev] Re: Remember: workarounds don't warrant RESO FIXED! Date: Thu, 20 Nov 2008 00:49:14 +0100 Message-ID: References: <20081116153318.2090b45f@halo.dirtyepic.sk.ca> <1226911945.29440.25.camel@localhost> <20081119165814.76c985a2@halo.dirtyepic.sk.ca> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-13-236.21-151.libero.it User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:ec90dVdW6FwIAwLNrp9trK6oTME= Sender: news X-Archives-Salt: 5a6ce196-acdf-4d1a-89b6-6bb8c0f19b5b X-Archives-Hash: 43f2bea369ff06635ca4fbf00e2a834f --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ryan Hill writes: >> Also relevant question: some tests require root privileges. What we >> should do in such case? > > When I asked this previously I was told to check the current user's > permissions before running them. I haven't had a case where I've had > to though. On libarchive there has been some tests requiring root privileges; the temporary way out was to disable those tests, and the final way out has been working with upstream so that the testsuite itself detects whether you have root privileges or not and decides to skip the tests that cannot be applied. Just to say. In general I think it makes sense to be able to run _most_ of the tests as user, and discard the ones that cannot be run without root privileges (I expect most software not to require root privileges for the tests, it's silly to unless you need to work with file permissions or stuff like that). =2D-=20 Diego "Flameeyes" Petten=C3=B2 http://blog.flameeyes.eu/ --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkkkpfsACgkQe2h1+2mHVWNjEwCg97cFK8eLRyxxVTdI1bnwpdGL QmMAn1kjp7a7Kr1z9f8hGz7VkCTaOQNE =6aZz -----END PGP SIGNATURE----- --=-=-=--