mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
support/testing: test_rasdaemon.py: use assertRunNotOk()
Use the helper to simplify the test.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit f8cfb55845)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
aef386b281
commit
6f44e2660c
@@ -43,5 +43,4 @@ class TestRasdaemon(infra.basetest.BRTest):
|
||||
self.assertRunOk("/etc/init.d/S95rasdaemon restart")
|
||||
self.assertRunOk("pidof /usr/sbin/rasdaemon")
|
||||
self.assertRunOk("/etc/init.d/S95rasdaemon stop")
|
||||
_, ret = self.emulator.run("pidof /usr/sbin/rasdaemon")
|
||||
self.assertNotEqual(ret, 0)
|
||||
self.assertRunNotOk("pidof /usr/sbin/rasdaemon")
|
||||
|
||||
Reference in New Issue
Block a user