diff --git a/tests/t_client.sh.in b/tests/t_client.sh.in index d4f7c4ab..9a0af93a 100755 --- a/tests/t_client.sh.in +++ b/tests/t_client.sh.in @@ -69,6 +69,11 @@ else echo "$0: this test must run be as root, or RUN_SUDO=... " >&2 echo " must be set correctly in 't_client.rc'. SKIP." >&2 exit 77 + else + # We have to use sudo. Make sure that we (hopefully) do not have + # to ask the users password during the test. This is done to + # prevent timing issues, e.g. when the waits for openvpn to start + $RUN_SUDO \true fi fi