[PATCH] cts: Delete shm blacbox after corosync kill

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This makes SHM Audit pass in test CpgCfgChgOnExecCrash.

Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
 cts/corotests.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/cts/corotests.py b/cts/corotests.py
index f7b29a5..5778100 100644
--- a/cts/corotests.py
+++ b/cts/corotests.py
@@ -301,6 +301,7 @@ class CpgCfgChgOnExecCrash(CpgConfigChangeBase):
         self.CM.log("sending KILL to corosync on " + self.wobbly)
         self.CM.rsh(self.wobbly, "killall -9 corosync")
         self.CM.rsh(self.wobbly, "rm -f /var/run/corosync.pid")
+        self.CM.rsh(self.wobbly, "rm -f /dev/shm/qb-corosync-blackbox*")
         self.CM.ShouldBeStatus[self.wobbly] = "down"
 
     def __call__(self, node):
-- 
1.7.10.4

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux