openvpn/tests
Gert Doering 8ca29af7c6 make t_client robust against sudoers misconfiguration
Instead of testing (and priming) sudo with "true", prime with
"kill -0 $$" (just test signalling ourselves).  If this fails,
we won't be able to kill the openvpn process we're going to
start later on -> thus, SKIP on failure.

This helps with misconfigured setups (especially on the buildbots)
that can correctly start openvpn but then not stop it later on -
leaving openvpn processes dangling around, requiring manual
intervention.

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20161002131923.36681-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg12585.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2016-10-04 11:31:25 +02:00
..
unit_tests Only build and run cmocka unit tests if its submodule is initialized 2016-05-31 16:40:29 +02:00
Makefile.am skip t_lpback.sh and t_cltsrv.sh if openvpn configured --disable-crypto 2016-09-17 12:13:23 +02:00
t_client.rc-sample Automatically cache expected IPs for t_client.sh on the first run 2016-10-04 11:16:22 +02:00
t_client.sh.in make t_client robust against sudoers misconfiguration 2016-10-04 11:31:25 +02:00
t_cltsrv-down.sh build: standard directory layout 2012-03-22 22:07:08 +01:00
t_cltsrv.sh build: standard directory layout 2012-03-22 22:07:08 +01:00
t_lpback.sh Discourage using 64-bit block ciphers 2016-08-22 14:52:50 +02:00
update_t_client_ips.sh Automatically cache expected IPs for t_client.sh on the first run 2016-10-04 11:16:22 +02:00