summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEtienne Cordonnier <ecordonnier@snap.com>2024-06-04 13:35:14 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-06-06 11:56:03 +0100
commit32ce07d3f510de06d6620bb417c8a91fbb4c86ac (patch)
treee593aba4ea15daf8b2785e8d51ec0b55b252e02c
parentb6b66ca07b2d7ea74c4aa61e9eec1cc7cb7f05ed (diff)
downloadpoky-32ce07d3f510de06d6620bb417c8a91fbb4c86ac.tar.gz
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 <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/runtime/cases/systemd.py3
1 files changed, 2 insertions, 1 deletions
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):
157 157
158 (status, output) = self.target.run('coredumpctl info') 158 (status, output) = self.target.run('coredumpctl info')
159 self.assertEqual(status, 0, msg='MiniDebugInfo Test failed: %s' % output) 159 self.assertEqual(status, 0, msg='MiniDebugInfo Test failed: %s' % output)
160 self.assertEqual('sleep_for_duration (busybox.nosuid' in output, True, msg='Call stack is missing minidebuginfo symbols (functions shown as "n/a"): %s' % output) 160 self.assertEqual('sleep_for_duration (busybox.nosuid' in output or 'xnanosleep (sleep.coreutils' in output,
161 True, msg='Call stack is missing minidebuginfo symbols (functions shown as "n/a"): %s' % output)
161 162
162class SystemdJournalTests(SystemdTest): 163class SystemdJournalTests(SystemdTest):
163 164