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
This commit is contained in:
@@ -89,7 +89,7 @@ class RootwrapTestCase(test.TestCase):
|
|||||||
self.assertFalse(f.match(usercmd) or f2.match(usercmd))
|
self.assertFalse(f.match(usercmd) or f2.match(usercmd))
|
||||||
usercmd = ['kill', p.pid]
|
usercmd = ['kill', p.pid]
|
||||||
# Providing no signal should work
|
# 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):
|
def test_KillFilter_no_raise(self):
|
||||||
"""Makes sure ValueError from bug 926412 is gone"""
|
"""Makes sure ValueError from bug 926412 is gone"""
|
||||||
|
|||||||
Reference in New Issue
Block a user