Permalink
Browse files

Test: Kill pacemaker processes running under valgrind too

  • Loading branch information...
beekhof committed Mar 19, 2013
1 parent fb0a3d2 commit c69c0cff8f0af405b248a3768f8fef41bdbff15a
Showing with 2 additions and 0 deletions.
  1. +2 −0 extra/cluster-clean
View
@@ -38,6 +38,8 @@ if [ $kill != 0 ]; then
echo "Cleaning processes"
cluster-helper $target -- "killall -q -9 corosync aisexec heartbeat pacemakerd pacemaker-remoted ccm stonithd ha_logd lrmd crmd pengine attrd pingd mgmtd cib fenced dlm_controld gfs_controld" &> /dev/null
+ cluster-helper $target -- 'kill -q -9 `pidof valgrind`' &> /dev/null
+
# Bah. Force systemd to actually look at the process and realize its dead"
cluster-helper $target -- "service corosync stop" &> /dev/null
cluster-helper $target -- "service pacemaker stop" &> /dev/null

0 comments on commit c69c0cf

Please sign in to comment.