diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-07-24 18:12:24 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-07-24 18:15:29 +0200 |
commit | 8864db7c1d679fe66cd93140e2fdd07a7eaf4bb4 (patch) | |
tree | 04fe43bf1a74027f42269945f0e8e7f4be8fbc69 /net-misc | |
parent | dev-php/pecl-mongodb: bump to v1.10.0 (diff) | |
download | gentoo-8864db7c1d679fe66cd93140e2fdd07a7eaf4bb4.tar.gz gentoo-8864db7c1d679fe66cd93140e2fdd07a7eaf4bb4.tar.bz2 gentoo-8864db7c1d679fe66cd93140e2fdd07a7eaf4bb4.zip |
net-misc/iputils: tests require root privileges
Closes: https://bugs.gentoo.org/803851
Package-Manager: Portage-3.0.21, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/iputils/iputils-20210722.ebuild | 9 | ||||
-rw-r--r-- | net-misc/iputils/iputils-99999999.ebuild | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/iputils/iputils-20210722.ebuild b/net-misc/iputils/iputils-20210722.ebuild index 731796a22c5e..dde2cee578c5 100644 --- a/net-misc/iputils/iputils-20210722.ebuild +++ b/net-misc/iputils/iputils-20210722.ebuild @@ -110,6 +110,15 @@ src_compile() { meson_src_compile } +src_test() { + if has userpriv ${FEATURES} || ${EUID} -ne 0 ; then + einfo "Tests require root privileges; Skipping ..." + return + fi + + meson_src_test +} + src_install() { meson_src_install diff --git a/net-misc/iputils/iputils-99999999.ebuild b/net-misc/iputils/iputils-99999999.ebuild index 731796a22c5e..dde2cee578c5 100644 --- a/net-misc/iputils/iputils-99999999.ebuild +++ b/net-misc/iputils/iputils-99999999.ebuild @@ -110,6 +110,15 @@ src_compile() { meson_src_compile } +src_test() { + if has userpriv ${FEATURES} || ${EUID} -ne 0 ; then + einfo "Tests require root privileges; Skipping ..." + return + fi + + meson_src_test +} + src_install() { meson_src_install |