diff options
author | Arne Schwabe | 2021-06-08 17:24:34 +0200 |
---|---|---|
committer | Gert Doering | 2021-06-15 15:23:30 +0200 |
commit | d48ee62c40c3fdda34e8b35698c8e558d8c31ba6 (patch) | |
tree | 684b1877834e45e94fd5c3923227e8c08d446c57 /tests | |
parent | 1601f79bc2c771976a68a708abd11fd024adc4dc (diff) | |
download | openvpn-d48ee62c40c3fdda34e8b35698c8e558d8c31ba6.zip openvpn-d48ee62c40c3fdda34e8b35698c8e558d8c31ba6.tar.gz |
Add github actions
dummy0 gives strange errors on the Ubuntu 16 runner on github actions
because
dummy already exist, so use a more unique ovpn-dummy0 name instead.
Github actions are a good alternative to travis-ci, which futrure is
questionable
at the moment without payment. The github actions also allows building on
macOS
and Windows (not included in this commit). The matrix is a bit different
than Coverity and uses different Ubuntu version with their native OpenSSL
(1.0.2, 1.1.1)/mbed TLS instead of manually compiling different OpenSSL
versions on just Ubuntu 20.04.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20210608152434.1403999-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22511.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit b4f658dfb018dcb22962eaa8b45ddd45c55f3003)
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/t_net.sh | 2 | ||||
-rw-r--r-- | tests/unit_tests/openvpn/test_networking.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/t_net.sh b/tests/t_net.sh index 246ee07..f9dba40 100755 --- a/tests/t_net.sh +++ b/tests/t_net.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -IFACE="dummy0" +IFACE="ovpn-dummy0" UNIT_TEST="./unit_tests/openvpn/networking_testdriver" MAX_TEST=${1:-7} diff --git a/tests/unit_tests/openvpn/test_networking.c b/tests/unit_tests/openvpn/test_networking.c index e7c148f..9e9744f 100644 --- a/tests/unit_tests/openvpn/test_networking.c +++ b/tests/unit_tests/openvpn/test_networking.c @@ -3,7 +3,7 @@ #include "networking.h" -static char *iface = "dummy0"; +static char *iface = "ovpn-dummy0"; static int net__iface_up(bool up) |