summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-29 19:26:50 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-29 19:26:50 +0000
commit17ce92746e6703e837315295f3d56be93ce685ec (patch)
tree7cae5cdeea3ceae7e4340cedcefcca661df5088b /sys-libs/libcap-ng
parentLastrite hmake and qdevelop. (diff)
downloadgentoo-2-17ce92746e6703e837315295f3d56be93ce685ec.tar.gz
gentoo-2-17ce92746e6703e837315295f3d56be93ce685ec.tar.bz2
gentoo-2-17ce92746e6703e837315295f3d56be93ce685ec.zip
Skip tests with FEATURES="-userpriv" (bug #342301).
(Portage version: 2.2.0_alpha2_p1/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libcap-ng')
-rw-r--r--sys-libs/libcap-ng/ChangeLog6
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/sys-libs/libcap-ng/ChangeLog b/sys-libs/libcap-ng/ChangeLog
index 46ff17194bb8..cbd9c9418634 100644
--- a/sys-libs/libcap-ng/ChangeLog
+++ b/sys-libs/libcap-ng/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/libcap-ng
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.19 2010/10/29 04:10:03 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/ChangeLog,v 1.20 2010/10/29 19:26:50 arfrever Exp $
+
+ 29 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ libcap-ng-0.6.4.ebuild:
+ Skip tests with FEATURES="-userpriv" (bug #342301).
29 Oct 2010; Jeroen Roovers <jer@gentoo.org> libcap-ng-0.6.4.ebuild:
Stable for HPPA (bug #341619).
diff --git a/sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild b/sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild
index 9441de1efd4b..839f1fc386f2 100644
--- a/sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild
+++ b/sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild,v 1.4 2010/10/29 04:10:03 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap-ng/libcap-ng-0.6.4.ebuild,v 1.5 2010/10/29 19:26:50 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -65,6 +65,11 @@ src_compile() {
}
src_test() {
+ if [[ "${EUID}" -eq 0 ]]; then
+ ewarn "Skipping tests due to root permissions."
+ return
+ fi
+
default
if use python; then