From 850118192572fcf81ad569552ee3f8c38ca7748a Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 4 Feb 2010 08:53:52 +0100 Subject: [PATCH] remove any charon.pid files remaining at the end of each scenario --- testing/do-tests.in | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 @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