[Openvpn-devel] travis: don't run t_net.sh test

Message ID 20200810161723.25576-1-a@unstable.cc
State Accepted
Headers show
Series [Openvpn-devel] travis: don't run t_net.sh test | expand

Commit Message

Antonio Quartulli Aug. 10, 2020, 6:17 a.m. UTC
Not all travis instances are fit for running t_net.sh test due to
various configurations knob that we have no access to.

Prevent failures by not running t_net.sh on travis at all.
The t_net.sh is executed by other test rigs which we have more control

The test is skipped by specifying RUN_SUDO=false which will make any
pre-test fail, forcing the Makefile to skip that particular test.

Signed-off-by: Antonio Quartulli <a@unstable.cc>

Tested on travis:

 .travis.yml | 1 +
 1 file changed, 1 insertion(+)


Gert Doering Aug. 10, 2020, 6:34 a.m. UTC | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

Haven't tested, but this looks a reasonable workaround for
"dummy.ko is not available on Travis, and t_net.sh will
always fail, without any informational value"

Your patch has been applied to the master branch.

commit feacd01c584898977c3450bf48d1ea5cbb9029f1
Author: Antonio Quartulli
Date:   Mon Aug 10 18:17:23 2020 +0200

     travis: don't run t_net.sh test

     Signed-off-by: Antonio Quartulli <a@unstable.cc>
     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <20200810161723.25576-1-a@unstable.cc>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20684.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>

kind regards,

Gert Doering


diff --git a/.travis.yml b/.travis.yml
index 9e374f55..2d379c70 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@  language: c
     - JOBS=3
+    - RUN_SUDO="false"
     - PREFIX="${HOME}/opt"
     - LZO_VERSION=2.10