From: Alon Bar-Lev Date: Wed, 10 Jan 2007 17:52:46 +0000 (+0000) Subject: Skip test if not root, bug#159876 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=50d5df6b240a2203f07f0a492a61fbaaa779756e;p=gentoo.git Skip test if not root, bug#159876 Package-Manager: portage-2.1.1-r2 --- diff --git a/sys-fs/dazuko/ChangeLog b/sys-fs/dazuko/ChangeLog index f355ce1a4169..a3be336d1733 100644 --- a/sys-fs/dazuko/ChangeLog +++ b/sys-fs/dazuko/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/dazuko -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/ChangeLog,v 1.16 2006/12/25 18:12:06 alonbl Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/ChangeLog,v 1.17 2007/01/10 17:52:46 alonbl Exp $ + + 10 Jan 2007; Alon Bar-Lev dazuko-2.3.2-r3.ebuild: + Skip test if not root, bug#159876 *dazuko-2.3.2-r3 (25 Dec 2006) diff --git a/sys-fs/dazuko/Manifest b/sys-fs/dazuko/Manifest index 43499ac61084..8bfa285a8abf 100644 --- a/sys-fs/dazuko/Manifest +++ b/sys-fs/dazuko/Manifest @@ -32,14 +32,14 @@ EBUILD dazuko-2.3.2-r2.ebuild 2044 RMD160 740c777b289c54764b041534af35db638c2459 MD5 7f08c14d9f22c4cd3aa7bfd0b7fa05ea dazuko-2.3.2-r2.ebuild 2044 RMD160 740c777b289c54764b041534af35db638c245961 dazuko-2.3.2-r2.ebuild 2044 SHA256 56aed597be4bd28492749378d61a8f7b41105762325a535121c4614648695d7d dazuko-2.3.2-r2.ebuild 2044 -EBUILD dazuko-2.3.2-r3.ebuild 2203 RMD160 008f8e4a64cae5055419c32b773e291789191237 SHA1 759ae56e479a4f4d99f45651b70055970730f61e SHA256 597a3d87e4e546110dcd21e50129537dfe58e5ec779300ca6346e71f37aa2b54 -MD5 86f93a7c349042098d622d6532c9d719 dazuko-2.3.2-r3.ebuild 2203 -RMD160 008f8e4a64cae5055419c32b773e291789191237 dazuko-2.3.2-r3.ebuild 2203 -SHA256 597a3d87e4e546110dcd21e50129537dfe58e5ec779300ca6346e71f37aa2b54 dazuko-2.3.2-r3.ebuild 2203 -MISC ChangeLog 2426 RMD160 ddc7f09765387f80e118b2df3587577f1cd0708f SHA1 84e2ba342a28108b3465d644237462c1fc469b85 SHA256 446c41543291b07ca2133de63a1c0c761f1beadfec839c96e8d2911fe2b9802e -MD5 74b04853d9042f1a3efe2e3510024179 ChangeLog 2426 -RMD160 ddc7f09765387f80e118b2df3587577f1cd0708f ChangeLog 2426 -SHA256 446c41543291b07ca2133de63a1c0c761f1beadfec839c96e8d2911fe2b9802e ChangeLog 2426 +EBUILD dazuko-2.3.2-r3.ebuild 2329 RMD160 ffe183eb49a871bde566c87638626cc66f9e61a5 SHA1 ead9b6e1cf94821f562097e69b50d4431ebd6ead SHA256 78c0065e3588497cfc21bbfc2f09e24a3eaa663f9f12696c8969e48c741d1590 +MD5 7af3e5d69fa0faac46cf08cd9df5cde3 dazuko-2.3.2-r3.ebuild 2329 +RMD160 ffe183eb49a871bde566c87638626cc66f9e61a5 dazuko-2.3.2-r3.ebuild 2329 +SHA256 78c0065e3588497cfc21bbfc2f09e24a3eaa663f9f12696c8969e48c741d1590 dazuko-2.3.2-r3.ebuild 2329 +MISC ChangeLog 2535 RMD160 7be669c64459bd10991f7cba55d35e50b90585ec SHA1 a8749e455cc17a40a6ab8b0ccd05ba676dae3d28 SHA256 3b8ce74fb177cdc2854dab77e6130bdbf5cec493d067aa25f15d29bcb3e0b48d +MD5 84b641cae3a75e3f5a2900c59e1c76ab ChangeLog 2535 +RMD160 7be669c64459bd10991f7cba55d35e50b90585ec ChangeLog 2535 +SHA256 3b8ce74fb177cdc2854dab77e6130bdbf5cec493d067aa25f15d29bcb3e0b48d ChangeLog 2535 MISC metadata.xml 980 RMD160 dfaf2070e4ef1023e90175d32fa626f334a56c07 SHA1 25e746478812c9b3c448ff3dd922a2bbc6129662 SHA256 c9a35d5cae928315a49ceb533066c2c41cf54e4fe4fa1529159b91e22274b022 MD5 e0a4db020fd5c28ea5a62ecefe8f1ec6 metadata.xml 980 RMD160 dfaf2070e4ef1023e90175d32fa626f334a56c07 metadata.xml 980 diff --git a/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild b/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild index 96bc829468d9..835fbc0230d5 100644 --- a/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild +++ b/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild,v 1.1 2006/12/25 18:12:06 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild,v 1.2 2007/01/10 17:52:46 alonbl Exp $ inherit linux-mod toolchain-funcs flag-o-matic DESCRIPTION="Linux kernel module and interface providing file access control" @@ -79,6 +79,14 @@ src_install() { dodoc README.trusted } +src_test() { + if [ "${EUID}" != 0 ]; then + ewarn "Cannot test while not root" + else + emake test || die "Test failed" + fi +} + pkg_postinst() { [ "${KERNEL}" = "linux" ] && linux-mod_pkg_postinst