1 |
commit: 06d9e6289bb487379e33712bb06f78fcd1b9e365 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 30 18:34:24 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 18:58:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d9e628 |
7 |
|
8 |
net-vpn/openvpn: don't call sudo during test phase |
9 |
|
10 |
Closes: https://bugs.gentoo.org/757330 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
net-vpn/openvpn/openvpn-2.5.2.ebuild | 2 ++ |
15 |
1 file changed, 2 insertions(+) |
16 |
|
17 |
diff --git a/net-vpn/openvpn/openvpn-2.5.2.ebuild b/net-vpn/openvpn/openvpn-2.5.2.ebuild |
18 |
index 3f04ecb8b50..83cf65e13cb 100644 |
19 |
--- a/net-vpn/openvpn/openvpn-2.5.2.ebuild |
20 |
+++ b/net-vpn/openvpn/openvpn-2.5.2.ebuild |
21 |
@@ -88,6 +88,8 @@ src_configure() { |
22 |
} |
23 |
|
24 |
src_test() { |
25 |
+ local -x RUN_SUDO=false |
26 |
+ |
27 |
make check || die "top-level tests failed" |
28 |
pushd tests/unit_tests &>/dev/null || die |
29 |
make check || die "unit tests failed" |