]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
remove any charon.pid files remaining at the end of each scenario
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 4 Feb 2010 07:53:52 +0000 (08:53 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 4 Feb 2010 07:53:52 +0000 (08:53 +0100)
testing/do-tests.in

index 3204b844c22e632a7476d6bb3c274487716b6a16..7dbb5487ae016ce80cc651cc740ef477b0bb9074 100755 (executable)
@@ -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