diff options
author | Gert Doering <gert@greenie.muc.de> | 2012-08-16 20:31:22 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-09-02 20:27:49 +0200 |
commit | cc43956c649a1557a814d52ab422d44939b2383e (patch) | |
tree | 04fc174d6e4ef869654ff0285ed0d22af7558754 | |
parent | cb13e30661d87a38232bf27e817528184d345811 (diff) | |
download | openvpn-cc43956c649a1557a814d52ab422d44939b2383e.tar.gz openvpn-cc43956c649a1557a814d52ab422d44939b2383e.tar.xz openvpn-cc43956c649a1557a814d52ab422d44939b2383e.zip |
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 <gert@greenie.muc.de>
Acked-by: David Sommerseth <davids@redhat.com>
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 <davids@redhat.com>
-rwxr-xr-x | 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 |