From 32ce07d3f510de06d6620bb417c8a91fbb4c86ac Mon Sep 17 00:00:00 2001 From: Etienne Cordonnier Date: Tue, 4 Jun 2024 13:35:14 +0200 Subject: oeqa/runtime: make minidebuginfo test work with coreutils The test was failing with core-image-full-cmdline which uses sleep from coreutils instead of sleep from busybox. (From OE-Core rev: 8497edf0c56da34ea7b7509b8fcd46fcba2fd0e3) Signed-off-by: Etienne Cordonnier Signed-off-by: Richard Purdie --- 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): -- cgit v1.2.3-54-g00ecf