diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-01-07 01:29:42 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-01-07 01:29:42 +0000 |
commit | a3fecb0a609e3408f4e1916caf12fe2224e10160 (patch) | |
tree | 4b8d3f9c92b8b354ae35c575ee0c5a77f28e1640 /dev-db | |
parent | Bump (diff) | |
download | gentoo-2-a3fecb0a609e3408f4e1916caf12fe2224e10160.tar.gz gentoo-2-a3fecb0a609e3408f4e1916caf12fe2224e10160.tar.bz2 gentoo-2-a3fecb0a609e3408f4e1916caf12fe2224e10160.zip |
Adding abort for tests run as root, behaviour has changed upstream.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/postgresql-server/ChangeLog | 6 | ||||
-rw-r--r-- | dev-db/postgresql-server/postgresql-server-7.4.27.ebuild | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-db/postgresql-server/ChangeLog b/dev-db/postgresql-server/ChangeLog index d3ca8e2f4a31..e954914f0d45 100644 --- a/dev-db/postgresql-server/ChangeLog +++ b/dev-db/postgresql-server/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-db/postgresql-server # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.38 2010/01/07 00:50:23 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.39 2010/01/07 01:29:42 patrick Exp $ + + 07 Jan 2010; Patrick Lauer <patrick@gentoo.org> + postgresql-server-7.4.27.ebuild: + Adding abort for tests run as root, behaviour has changed upstream. *postgresql-server-7.4.27 (07 Jan 2010) diff --git a/dev-db/postgresql-server/postgresql-server-7.4.27.ebuild b/dev-db/postgresql-server/postgresql-server-7.4.27.ebuild index 7237813b179e..ca5e1cc4e0cb 100644 --- a/dev-db/postgresql-server/postgresql-server-7.4.27.ebuild +++ b/dev-db/postgresql-server/postgresql-server-7.4.27.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/dev-db/postgresql-server/postgresql-server-7.4.27.ebuild,v 1.1 2010/01/07 00:50:23 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-7.4.27.ebuild,v 1.2 2010/01/07 01:29:42 patrick Exp $ EAPI="1" @@ -224,6 +224,9 @@ pkg_config() { src_test() { einfo ">>> Test phase [check]: ${CATEGORY}/${PF}" + if [[ $UID -eq 0 ]]; then + die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." + fi PATH="/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ emake -j1 check \ PGXS=$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --pgxs) \ |