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.42.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.42.ebuild')
-rw-r--r--dev-db/mysql/mysql-5.0.42.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-db/mysql/mysql-5.0.42.ebuild b/dev-db/mysql/mysql-5.0.42.ebuild
index 3fc099d0c400..a67895be44ee 100644
--- a/dev-db/mysql/mysql-5.0.42.ebuild
+++ b/dev-db/mysql/mysql-5.0.42.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.42.ebuild,v 1.9 2007/06/24 21:20:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.42.ebuild,v 1.10 2008/05/29 19:36:57 robbat2 Exp $
MY_EXTRAS_VER="20070415"
SERVER_URI="ftp://ftp.mysql.com/pub/mysql/src/mysql-${PV//_/-}.tar.gz"
@@ -29,7 +29,7 @@ src_test() {
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
- 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"