mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-02-06 16:20:38 +01:00
tests: Fail test if return code is less than 0
This means that the application received a signal.
This commit is contained in:
parent
38ba7199b7
commit
fd9a86eca4
1 changed files with 3 additions and 1 deletions
|
|
@ -252,7 +252,9 @@ class FPrintdTest(dbusmock.DBusTestCase):
|
|||
self.daemon.terminate()
|
||||
except OSError:
|
||||
pass
|
||||
self.assertLess(self.daemon.wait(timeout=2), 128)
|
||||
self.daemon.wait(timeout=2)
|
||||
self.assertLess(self.daemon.returncode, 128)
|
||||
self.assertGreaterEqual(self.daemon.returncode, 0)
|
||||
|
||||
self.daemon = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue