From cc43956c649a1557a814d52ab422d44939b2383e Mon Sep 17 00:00:00 2001 From: Gert Doering Date: Thu, 16 Aug 2012 20:31:22 +0200 Subject: Put actual OpenVPN command line on top of corresponding log file. 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 Acked-by: David Sommerseth Message-Id: 1345141883-9889-2-git-send-email-gert@greenie.muc.de URL: http://article.gmane.org/gmane.network.openvpn.devel/6984 Signed-off-by: David Sommerseth --- tests/t_client.sh.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/t_client.sh.in') 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 -- cgit