This is useful if a test fails, and the tester wants to run the very same OpenVPN call with the very same arguments interactively to pinpoint and fix the problem.
Signed-off-by: Gert Doering <g...@greenie.muc.de> --- tests/t_client.sh.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/tests/t_client.sh.in b/tests/t_client.sh.in index 8c66033..189eecc 100755 --- a/tests/t_client.sh.in +++ b/tests/t_client.sh.in @@ -234,7 +234,8 @@ do fi echo " run openvpn $openvpn_conf" - $RUN_SUDO "${top_builddir}/src/openvpn/openvpn" $openvpn_conf >$LOGDIR/$SUF:openvpn.log & + echo "# src/openvpn/openvpn $openvpn_conf" >$LOGDIR/$SUF:openvpn.log + $RUN_SUDO "${top_builddir}/src/openvpn/openvpn" $openvpn_conf >>$LOGDIR/$SUF:openvpn.log & opid=$! # make sure openvpn client is terminated in case shell exits -- 1.7.3.5