Skip to content

selftests: coredump: Some bug fixes

Nam Cao linux-kselftest lkml 2 versions – Applied

Status from this message: Applied to the vfs-6.16.coredump branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesApplied
  2. v13 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3selftests: coredump: Properly initialize pointertools/testing/selftests/coredump/stackdump_test.c+2 -01 reply
2/3selftests: coredump: Fix test failure for slow machinestools/testing/selftests/coredump/stackdump_test.c+5 -10 replies
3/3selftests: coredump: Raise timeout to 2 minutestools/testing/selftests/coredump/stackdump_test.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] selftests: coredump: Some bug fixes

Hi,

While trying the coredump test on qemu-system-riscv64, I observed test failures for various reasons.

This series makes the test works on qemu-system-riscv64.

Best regards,
Nam

v1->v2 https://lore.kernel.org/lkml/[email protected]/
- use getline() more precisely [John Ogness]
- be absolutely safe: waitpid() for the child process, and still wait 10s for stack_values file to be created [John Ogness]

Nam Cao (3):
selftests: coredump: Properly initialize pointer
selftests: coredump: Fix test failure for slow machines
selftests: coredump: Raise timeout to 2 minutes

 tools/testing/selftests/coredump/stackdump_test.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.5