]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Prevent integration test timeout bc. of sudo
authorJens Neuhalfen <jens@neuhalfen.name>
Sun, 8 May 2016 16:17:48 +0000 (18:17 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 9 May 2016 18:17:01 +0000 (20:17 +0200)
commitf40f10ea9607934faeb2b8cd84aefff0e0790189
tree81c5894b7ff5de3d717afabd4cf8567e9e24bc22
parentd54a2488a0b7a678817b50e1518d0f31397b2e7b
Prevent integration test timeout bc. of sudo

Integration tests run by t_client.sh use sudo to run openvpn as root.

If the t_client.sh script is configured to use sudo then the user
must enter the password quickly because t_client assumes a startup
failure if openvpn does not start quick enough.

If the user is not quick enough, then the tests fails.

This change will refresh the sudo timestamp at the start of the script.

Tested on MacOS X & Ubuntu Precise

Signed-off-by: Jens Neuhalfen <jens@neuhalfen.name>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <280154CA-9468-429B-BCAC-DB632C0AFB32@neuhalfen.name>
URL: http://article.gmane.org/gmane.network.openvpn.devel/11622
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/t_client.sh.in