mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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: 2b71641b9c1b8f7e67527d2242a6a65b1e849ded) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8497edf0c56da34ea7b7509b8fcd46fcba2fd0e3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
44be932c5d
commit
062d897b77
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user