From 4ddc43de8f6f5ca074674df012584817661d0aab Mon Sep 17 00:00:00 2001 From: Bruno Haible <bruno@clisp.org> Date: Mon, 14 Apr 2025 22:49:55 +0200 Subject: [PATCH] c-stack tests: Remove left-over core dump file. Suggested by Eric Blake in <https://lists.gnu.org/archive/html/bug-gnulib/2025-04/msg00101.html>. * tests/test-c-stack2.sh: Remove 'core' and 'test-c-stack.core' when done. --- ChangeLog | 8 ++++++++ tests/test-c-stack2.sh | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5e49fce290..fb3917db47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2025-04-14 Bruno Haible <bruno@clisp.org> + + c-stack tests: Remove left-over core dump file. + Suggested by Eric Blake in + <https://lists.gnu.org/archive/html/bug-gnulib/2025-04/msg00101.html>. + * tests/test-c-stack2.sh: Remove 'core' and 'test-c-stack.core' when + done. + 2025-04-14 Bruno Haible <bruno@clisp.org> regex: Fix undefined behaviour. diff --git a/tests/test-c-stack2.sh b/tests/test-c-stack2.sh index b7f8b26bd9..7d62de1bc9 100755 --- a/tests/test-c-stack2.sh +++ b/tests/test-c-stack2.sh @@ -4,6 +4,10 @@ tmpfiles="" trap 'rm -fr $tmpfiles' HUP INT QUIT TERM tmpfiles="t-c-stack2.tmp" +# Prepare to clean up a core dump file, assuming the most common naming +# conventions for such files. (Core dump file names may be customized +# through /proc/sys/kernel/core_pattern or 'coredumpctl'.) +tmpfiles="$tmpfiles core test-c-stack.core" # Sanitize exit status within a subshell, since some shells fail to # redirect stderr on their message about death due to signal. -- 2.39.5