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:
Dan Prince
2012-06-25 12:29:36 -04:00
parent f0f2f00633
commit c4c7acbc83

View File

@@ -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"""