From cf99107321c891565ab97f49193b81419abf3d66 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Mon, 25 Jun 2012 12:29:36 -0400 Subject: Another killfilter test fix for Fedora 17. Updates killfilter test to use /usr/bin/sleep in addition to /bin/sleep. Fixes LP Bug #1017585. Change-Id: Ied0a8837fb0e7ca7fa3629859fbd67f71e5d80dc --- nova/tests/test_nova_rootwrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/test_nova_rootwrap.py b/nova/tests/test_nova_rootwrap.py index 2b6fba975..f816cbdb9 100644 --- a/nova/tests/test_nova_rootwrap.py +++ b/nova/tests/test_nova_rootwrap.py @@ -89,7 +89,7 @@ class RootwrapTestCase(test.TestCase): self.assertFalse(f.match(usercmd) or f2.match(usercmd)) usercmd = ['kill', p.pid] # Providing no signal should work - self.assertTrue(f.match(usercmd)) + self.assertTrue(f.match(usercmd) or f2.match(usercmd)) def test_KillFilter_no_raise(self): """Makes sure ValueError from bug 926412 is gone""" -- cgit