From ec6f93dd019bf96b1b4fffb04b16e316873f19de Mon Sep 17 00:00:00 2001 From: Marek Ruszczak Date: Tue, 28 Feb 2012 16:59:44 +0200 Subject: [PATCH] Changes: Fixes test test_invoker_signal_forward (extra warnings has appeared in test application) RevBy: Thyagarajan Balakrishnan --- debian/changelog | 1 + tests/harmattan/testscripts/test-invoker.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 777a7ce..31df573 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ applauncherd (3.0.2) unstable; urgency=low * disabling xsession/crash-reporter-daemon in performance test (probably breaks test at random cases) + * Changes: Fixes test test_invoker_signal_forward (extra warnings has appeared in test application) -- Marek Ruszczak Thu, 23 Feb 2012 16:13:38 +0200 diff --git a/tests/harmattan/testscripts/test-invoker.py b/tests/harmattan/testscripts/test-invoker.py index b64b42b..121ab84 100644 --- a/tests/harmattan/testscripts/test-invoker.py +++ b/tests/harmattan/testscripts/test-invoker.py @@ -393,7 +393,7 @@ class InvokerTests(CustomTestCase): st, op = commands.getstatusoutput("/usr/share/applauncherd-testscripts/signal-forward/fala_inv_sf.py") debug("The Invoker killed by : <%s>" %op) - self.assert_(op.startswith('Segmentation fault') == True, "The invoker(m-booster) was not killed by the same signal") + self.assert_(op.find('Segmentation fault')!=-1, "The invoker(m-booster) was not killed by the same signal. Result:\n%s" %(op)) if(sighup): self.sighup_applauncherd()