mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
oeqa/runtime: fix regression in minidebuginfo test
The builtin command "sleep" was getting executed instead of the busybox binary. Hence "pidof sleep" was empty and the test was failing. (From OE-Core rev: dfde05c64a7d9f01f09a34e76509ef80501f0db7) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3188f3f0718b8a59bc9e3cae4cdf74e82bdb86c3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
855256ad3f
commit
fde79e305b
@@ -145,7 +145,8 @@ 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",))
|
||||
# use "env sleep" instead of "sleep" to avoid calling the shell builtin function
|
||||
t_thread = threading.Thread(target=self.target.run, args=("ulimit -c unlimited && env sleep 1000",))
|
||||
t_thread.start()
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user