Skip to content

Commit 59cd658

Browse files
committed
selftests/coredump: add coredump server selftests
This adds extensive tests for the coredump server. Link: https://lore.kernel.org/20250603-work-coredump-socket-protocol-v2-5-05a5f0c18ecc@kernel.org Acked-by: Lennart Poettering <lennart@poettering.net> Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent be227ba commit 59cd658

File tree

3 files changed

+1258
-2
lines changed

3 files changed

+1258
-2
lines changed

tools/testing/selftests/coredump/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
CFLAGS = -Wall -O0 $(KHDR_INCLUDES)
2+
CFLAGS += -Wall -O0 -g $(KHDR_INCLUDES) $(TOOLS_INCLUDES)
33

44
TEST_GEN_PROGS := stackdump_test
55
TEST_FILES := stackdump
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_COREDUMP=y
2+
CONFIG_NET=y
3+
CONFIG_UNIX=y

0 commit comments

Comments
 (0)