summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-05-29 19:36:57 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-05-29 19:36:57 +0000
commit79e7c636981b59faef12f4963f4a9073059f6973 (patch)
tree429bada511b68e197a909f094824915922ff3f48 /dev-db/mysql/mysql-5.0.26-r2.ebuild
parentMake FEATURES=-userpriv test non-fatal during pkg_setup, as portage always ru... (diff)
downloadgentoo-2-79e7c636981b59faef12f4963f4a9073059f6973.tar.gz
gentoo-2-79e7c636981b59faef12f4963f4a9073059f6973.tar.bz2
gentoo-2-79e7c636981b59faef12f4963f4a9073059f6973.zip
Convert all all FEATURES=userpriv tests to be UID -eq 0 to make Paludis et al happy.
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-db/mysql/mysql-5.0.26-r2.ebuild')
-rw-r--r--dev-db/mysql/mysql-5.0.26-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-db/mysql/mysql-5.0.26-r2.ebuild b/dev-db/mysql/mysql-5.0.26-r2.ebuild
index a55e9bcdbd44..ab19d0b5540d 100644
--- a/dev-db/mysql/mysql-5.0.26-r2.ebuild
+++ b/dev-db/mysql/mysql-5.0.26-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.26-r2.ebuild,v 1.2 2007/01/12 17:58:32 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.26-r2.ebuild,v 1.3 2008/05/29 19:36:57 robbat2 Exp $
MY_EXTRAS_VER="20070105"
SERVER_URI="mirror://mysql/Downloads/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz"
@@ -22,7 +22,7 @@ src_test() {
# mysqladmin start before dir creation
mkdir -p "${S}"/mysql-test/var{,/log}
- if ! hasq "userpriv" ${FEATURES} ; then
+ if [[ $UID -eq 0 ]]; then
mysql_disable_test "im_daemon_life_cycle" "fails as root"
mysql_disable_test "im_life_cycle" "fails as root"
mysql_disable_test "im_options_set" "fails as root"