diff options
| author | Etienne Cordonnier <ecordonnier@snap.com> | 2024-06-04 13:35:14 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-08-01 06:08:09 -0700 |
| commit | 062d897b77bcb138654c5b1526ccbc5774246453 (patch) | |
| tree | 8ff9ada3e689481f759db5d60b1c5c03744f69e2 | |
| parent | 44be932c5dc7d535eb382eb6a3228d8022a467e2 (diff) | |
| download | poky-062d897b77bcb138654c5b1526ccbc5774246453.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: 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>
| -rw-r--r-- | meta/lib/oeqa/runtime/cases/systemd.py | 3 |
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 | ||
| 162 | class SystemdJournalTests(SystemdTest): | 163 | class SystemdJournalTests(SystemdTest): |
| 163 | 164 | ||
