oeqa/runtime: make minidebuginfo test work with coreutils
PATCH 1/1 oeqa/runtime: make minidebuginfo test work with coreutils
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]>
--- meta/lib/oeqa/runtime/cases/systemd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/lib/oeqa/runtime/cases/systemd.py +2 -1
@@ -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):
Signature · 1 line
2.36.1.vfs.0.0