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>
This commit is contained in:
Thomas Deutschmann
2021-07-24 18:15:29 +02:00
parent 8a298ff3b9
commit 8864db7c1d
2 changed files with 18 additions and 0 deletions
+9
View File
@@ -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
+9
View File
@@ -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