From: Etienne Cordonnier <[email protected]>

The test was failing with core-image-full-cmdline which uses sleep from 
coreutils instead of sleep from busybox.

Signed-off-by: Etienne Cordonnier <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 8497edf0c56da34ea7b7509b8fcd46fcba2fd0e3)
Signed-off-by: Steve Sakoman <[email protected]>
---
 meta/lib/oeqa/runtime/cases/systemd.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/runtime/cases/systemd.py 
b/meta/lib/oeqa/runtime/cases/systemd.py
index 8bf571663b..80fdae240a 100644
--- a/meta/lib/oeqa/runtime/cases/systemd.py
+++ b/meta/lib/oeqa/runtime/cases/systemd.py
@@ -157,7 +157,8 @@ class SystemdServiceTests(SystemdTest):
 
         (status, output) = self.target.run('coredumpctl info')
         self.assertEqual(status, 0, msg='MiniDebugInfo Test failed: %s' % 
output)
-        self.assertEqual('sleep_for_duration (busybox.nosuid' in output, True, 
msg='Call stack is missing minidebuginfo symbols (functions shown as "n/a"): 
%s' % output)
+        self.assertEqual('sleep_for_duration (busybox.nosuid' in output or 
'xnanosleep (sleep.coreutils' in output,
+                         True, msg='Call stack is missing minidebuginfo 
symbols (functions shown as "n/a"): %s' % output)
 
 class SystemdJournalTests(SystemdTest):
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#202622): 
https://lists.openembedded.org/g/openembedded-core/message/202622
Mute This Topic: https://lists.openembedded.org/mt/107608156/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to