summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-04-30 20:34:24 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-04-30 20:58:35 +0200
commit06d9e6289bb487379e33712bb06f78fcd1b9e365 (patch)
treeca795ac5341ec7b803629b0d6951afefc6778121 /net-vpn/openvpn
parentnet-vpn/openvpn: runscript: use /run instead of /var/run (diff)
downloadgentoo-06d9e6289bb487379e33712bb06f78fcd1b9e365.tar.gz
gentoo-06d9e6289bb487379e33712bb06f78fcd1b9e365.tar.bz2
gentoo-06d9e6289bb487379e33712bb06f78fcd1b9e365.zip
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@gentoo.org>
Diffstat (limited to 'net-vpn/openvpn')
-rw-r--r--net-vpn/openvpn/openvpn-2.5.2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild b/net-vpn/openvpn/openvpn-2.5.2.ebuild
index 3f04ecb8b504..83cf65e13cb1 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"