From: Andreas Steffen Date: Thu, 4 Feb 2010 07:53:52 +0000 (+0100) Subject: remove any charon.pid files remaining at the end of each scenario X-Git-Tag: 4.3.6~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=850118192572fcf81ad569552ee3f8c38ca7748a;p=thirdparty%2Fstrongswan.git remove any charon.pid files remaining at the end of each scenario --- diff --git a/testing/do-tests.in b/testing/do-tests.in index 3204b844c2..7dbb5487ae 100755 --- a/testing/do-tests.in +++ b/testing/do-tests.in @@ -631,6 +631,17 @@ do @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