Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] oeqa/runtime: fix regression in minidebuginfo test
@ 2024-05-29 10:08 ecordonnier
  2024-05-29 14:54 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 12+ messages in thread
From: ecordonnier @ 2024-05-29 10:08 UTC (permalink / raw)
  To: openembedded-core; +Cc: Etienne Cordonnier

From: Etienne Cordonnier <ecordonnier@snap.com>

The builtin command "sleep" was getting executed instead of the busybox binary.
Hence "pidof sleep" was empty and the test was failing.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 meta/lib/oeqa/runtime/cases/systemd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/runtime/cases/systemd.py b/meta/lib/oeqa/runtime/cases/systemd.py
index 5481e1d840..a2229848e7 100644
--- a/meta/lib/oeqa/runtime/cases/systemd.py
+++ b/meta/lib/oeqa/runtime/cases/systemd.py
@@ -145,7 +145,7 @@ class SystemdServiceTests(SystemdTest):
         Verify that call-stacks generated by systemd-coredump contain symbolicated call-stacks,
         extracted from the minidebuginfo metadata (.gnu_debugdata elf section).
         """
-        t_thread = threading.Thread(target=self.target.run, args=("ulimit -c unlimited && sleep 1000",))
+        t_thread = threading.Thread(target=self.target.run, args=("ulimit -c unlimited && /usr/bin/sleep 1000",))
         t_thread.start()
         time.sleep(1)
 
-- 
2.36.1.vfs.0.0



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-06-05 10:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29 10:08 [PATCH] oeqa/runtime: fix regression in minidebuginfo test ecordonnier
2024-05-29 14:54 ` [OE-core] " Richard Purdie
2024-05-30 15:23   ` Etienne Cordonnier
     [not found]   ` <17D44D900E0F42D1.15404@lists.openembedded.org>
2024-06-03 11:35     ` Etienne Cordonnier
2024-06-03 11:42       ` Alexander Kanavin
2024-06-03 14:13       ` Richard Purdie
     [not found]       ` <17D5840BB429ED6B.21428@lists.openembedded.org>
2024-06-03 14:28         ` Richard Purdie
2024-06-04 11:45           ` Etienne Cordonnier
2024-06-04 11:56             ` Richard Purdie
2024-06-04 11:58               ` Etienne Cordonnier
2024-06-04 12:32                 ` Richard Purdie
2024-06-05 10:11                   ` Etienne Cordonnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox