summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-10-11 04:57:29 +0000
committerPeter Volkov <pva@gentoo.org>2011-10-11 04:57:29 +0000
commit5b1e6f08c5ce42222fa581dec924e5aaf86e66f4 (patch)
treea5c4755ad61bc8b88a328f035d8d23472ec6a595 /net-misc
parentVersion bump. (diff)
downloadgentoo-2-5b1e6f08c5ce42222fa581dec924e5aaf86e66f4.tar.gz
gentoo-2-5b1e6f08c5ce42222fa581dec924e5aaf86e66f4.tar.bz2
gentoo-2-5b1e6f08c5ce42222fa581dec924e5aaf86e66f4.zip
Disable tests that fail if started from root user.
(Portage version: 2.1.10.25/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/ipv6calc/ChangeLog5
-rw-r--r--net-misc/ipv6calc/ipv6calc-0.92.0.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/net-misc/ipv6calc/ChangeLog b/net-misc/ipv6calc/ChangeLog
index 4ce40e333dd3..694188b8e8e1 100644
--- a/net-misc/ipv6calc/ChangeLog
+++ b/net-misc/ipv6calc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/ipv6calc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ChangeLog,v 1.45 2011/10/10 19:49:32 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ChangeLog,v 1.46 2011/10/11 04:57:29 pva Exp $
+
+ 11 Oct 2011; Peter Volkov <pva@gentoo.org> ipv6calc-0.92.0.ebuild:
+ Disable tests that fail if started from root user.
*ipv6calc-0.92.0 (10 Oct 2011)
diff --git a/net-misc/ipv6calc/ipv6calc-0.92.0.ebuild b/net-misc/ipv6calc/ipv6calc-0.92.0.ebuild
index 552796f35061..e1e8f0a97503 100644
--- a/net-misc/ipv6calc/ipv6calc-0.92.0.ebuild
+++ b/net-misc/ipv6calc/ipv6calc-0.92.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ipv6calc-0.92.0.ebuild,v 1.1 2011/10/10 19:49:32 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ipv6calc-0.92.0.ebuild,v 1.2 2011/10/11 04:57:29 pva Exp $
EAPI="4"
inherit fixheadtails
@@ -31,6 +31,14 @@ src_compile() {
emake DEFAULT_CFLAGS=""
}
+src_test() {
+ if [[ ${EUID} -eq 0 ]]; then
+ # Disable tests that fail as root
+ echo true > ipv6logstats/test_ipv6logstats.sh
+ fi
+ default
+}
+
src_install() {
emake DESTDIR="${D}" install
dodoc ChangeLog CREDITS README TODO USAGE