diff --git a/tests/harmattan/testscripts/test-func-launcher.py b/tests/harmattan/testscripts/test-func-launcher.py index 4229b5e..43ca3a6 100644 --- a/tests/harmattan/testscripts/test-func-launcher.py +++ b/tests/harmattan/testscripts/test-func-launcher.py @@ -551,7 +551,7 @@ class launcher_tests (unittest.TestCase): time.sleep(3) debug("The Invoker killed by : <%s>" %op.split ('\n')[-1]) - self.assert_(op.split('\n')[-1] == 'Segmentation fault', "The invoker(m-booster) was not killed by the same signal") + self.assert_(op.split('\n')[-1].startswith('Segmentation fault') == True, "The invoker(m-booster) was not killed by the same signal") time.sleep(2) #Test for d-booster diff --git a/tests/harmattan/testscripts/test-invoker.py b/tests/harmattan/testscripts/test-invoker.py index 956fa9b..837750d 100644 --- a/tests/harmattan/testscripts/test-invoker.py +++ b/tests/harmattan/testscripts/test-invoker.py @@ -54,7 +54,7 @@ class InvokerTests(unittest.TestCase): time.sleep(3) debug("The Invoker killed by : <%s>" %op) - self.assert_(op == 'Segmentation fault', "The invoker(m-booster) was not killed by the same signal") + self.assert_(op.startswith('Segmentation fault') == True, "The invoker(m-booster) was not killed by the same signal") time.sleep(2) def test_wrong_type(self):