commit:     06d9e6289bb487379e33712bb06f78fcd1b9e365
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 30 18:34:24 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Apr 30 18:58:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d9e628

net-vpn/openvpn: don't call sudo during test phase

Closes: https://bugs.gentoo.org/757330
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-vpn/openvpn/openvpn-2.5.2.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild 
b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index 3f04ecb8b50..83cf65e13cb 100644
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild
@@ -88,6 +88,8 @@ src_configure() {
 }
 
 src_test() {
+       local -x RUN_SUDO=false
+
        make check || die "top-level tests failed"
        pushd tests/unit_tests &>/dev/null || die
        make check || die "unit tests failed"

Reply via email to