aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorNam Cao <[email protected]>2025-04-11 15:09:42 +0000
committerChristian Brauner <[email protected]>2025-05-02 12:28:18 +0000
commit6f5bf9f37f06668ead446e2997f2b431db8963ce (patch)
tree644d2001b351628771e97517cef6a0e9220fd454 /net/unix/af_unix.c
parentselftests: coredump: Properly initialize pointer (diff)
downloadkernel-6f5bf9f37f06668ead446e2997f2b431db8963ce.tar.gz
kernel-6f5bf9f37f06668ead446e2997f2b431db8963ce.zip
selftests: coredump: Fix test failure for slow machines
The test waits for coredump to finish by busy-waiting for the stack_values file to be created. The maximum wait time is 10 seconds. This doesn't work for slow machine (qemu-system-riscv64), because coredump takes longer. Fix it by waiting for the crashing child process to finish first. Fixes: 15858da53542 ("selftests: coredump: Add stackdump test") Signed-off-by: Nam Cao <[email protected]> Link: https://lore.kernel.org/ee657f3fc8e19657cf7aaa366552d6347728f371.1744383419.git.namcao@linutronix.de Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions