0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-19 19:42:30 +02:00
openvpn/tests/t_server_null.rc-sample
Samuli Seppänen f8f4771398 t_server_null: multiple improvements and fixes
- exit after a timeout if unable to kill servers
- use sudo or equivalent only for server stop/start
- use /bin/sh directly instead of through /usr/bin/env
- simplify sudo call in the sample rc file
- remove misleading and outdated documentation
- make it work on OpenBSD 7.5
- make it work on NetBSD 10.0
- make server logs readable by normal users

Change-Id: I2cce8ad4e0d262e1404ab1eb6ff673d8590b6b3a
Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240704133337.26595-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28871.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2024-07-04 22:26:32 +02:00

15 lines
466 B
Plaintext

# Uncomment to run tests with sudo
#RUN_SUDO="sudo -E"
TEST_RUN_LIST="1 2 3 10 11"
TEST_NAME_10="t_server_null_client.sh-openvpn_2_6_8_udp"
SHOULD_PASS_10="yes"
CLIENT_EXEC_10="/usr/sbin/openvpn"
CLIENT_CONF_10="${CLIENT_CONF_BASE} --remote 127.0.0.1 1194 udp --proto udp"
TEST_NAME_11="t_server_null_client.sh-openvpn_2_6_8_tcp"
SHOULD_PASS_11="yes"
CLIENT_EXEC_11="/usr/sbin/openvpn"
CLIENT_CONF_11="${CLIENT_CONF_BASE} --remote 127.0.0.1 1195 tcp --proto tcp"