diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-02-04 08:53:52 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-02-04 08:53:52 +0100 |
commit | 850118192572fcf81ad569552ee3f8c38ca7748a (patch) | |
tree | 1c02683cfc74b31e806bdc97111dafa4bf5696e0 /testing/do-tests.in | |
parent | 00eb9267ad7a5a6887fce06f05d29cd141392e12 (diff) | |
download | strongswan-850118192572fcf81ad569552ee3f8c38ca7748a.tar.bz2 strongswan-850118192572fcf81ad569552ee3f8c38ca7748a.tar.xz |
remove any charon.pid files remaining at the end of each scenario
Diffstat (limited to 'testing/do-tests.in')
-rwxr-xr-x | testing/do-tests.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/do-tests.in b/testing/do-tests.in index 3204b844c..7dbb5487a 100755 --- a/testing/do-tests.in +++ b/testing/do-tests.in @@ -631,6 +631,17 @@ do </tr> @EOF + + ########################################################################## + # remove any charon.pid files that still may exist + # + + for host in $IPSECHOSTS + do + eval HOSTLOGIN=root@\$ipv4_${host} + ssh $HOSTLOGIN 'if [ -f /var/run/charon.pid ]; then rm /var/run/charon.pid; echo " removed charon.pid on `hostname`"; fi' + done + done done |