From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RjBgS-0003bt-3y for garchives@archives.gentoo.org; Fri, 06 Jan 2012 15:26:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 272C721C05C; Fri, 6 Jan 2012 15:26:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EEFC521C05C for ; Fri, 6 Jan 2012 15:26:12 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7621A1B4025 for ; Fri, 6 Jan 2012 15:26:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 9D57E80042 for ; Fri, 6 Jan 2012 15:26:11 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" Message-ID: <6293a42a24cdf94936a87c1c9b26b699ac8c9157.jmbsvicetto@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: eclass/ X-VCS-Repository: proj/mysql X-VCS-Files: eclass/mysql-v2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jmbsvicetto X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto X-VCS-Revision: 6293a42a24cdf94936a87c1c9b26b699ac8c9157 Date: Fri, 6 Jan 2012 15:26:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: a0c529ac-52c4-4228-bae7-385b4af4093a X-Archives-Hash: a6a5a449ab4c818bba9b135ce1c0f716 commit: 6293a42a24cdf94936a87c1c9b26b699ac8c9157 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) ge= ntoo org> AuthorDate: Fri Jan 6 15:20:58 2012 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org= > CommitDate: Fri Jan 6 15:23:04 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mysql.git;a=3D= commit;h=3D6293a42a Fix test of -userpriv in the mysql eclass - fixes bug 312809. --- eclass/mysql-v2.eclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/eclass/mysql-v2.eclass b/eclass/mysql-v2.eclass index 1dab7fc..a8d9f5f 100644 --- a/eclass/mysql-v2.eclass +++ b/eclass/mysql-v2.eclass @@ -382,7 +382,7 @@ mysql-v2_pkg_setup() { =20 if has test ${FEATURES} ; then if ! use minimal ; then - if [[ $UID -eq 0 ]]; then + if ! has userpriv ${FEATURES} ; then eerror "Testing with FEATURES=3D-userpriv is no longer supported by = upstream. Tests MUST be run as non-root." fi fi