[LTP] [PATCH v2 1/1] kill11: Skip pipe-based core dumps per signal
Jan Polensky
japo@linux.ibm.com
Fri Jul 10 19:58:54 CEST 2026
On Fri, Jul 10, 2026 at 02:27:11PM +0200, Cyril Hrubis wrote:
> Hi!
> Alternative we may change the core pattern for the duration of the test.
> Does this patch fixes the issue for you?
>
> diff --git a/testcases/kernel/syscalls/kill/kill11.c b/testcases/kernel/syscalls/kill/kill11.c
> index 3cf62feae..191587368 100644
> --- a/testcases/kernel/syscalls/kill/kill11.c
> +++ b/testcases/kernel/syscalls/kill/kill11.c
> @@ -126,7 +126,12 @@ static void setup(void)
> static struct tst_test test = {
> .needs_tmpdir = 1,
> .forks_child = 1,
> + .needs_root = 1,
> .setup = setup,
> .tcnt = ARRAY_SIZE(tcases),
> .test = verify_kill,
> + .save_restore = (const struct tst_path_val[]) {
> + {PATH_KERN_CORE_PATTERN, "core", TST_SR_TBROK},
> + {}
> + }
> };
>
>
> --
> Cyril Hrubis
> chrubis@suse.cz
Hi Cyril,
yes, this patch fixes the issue completely for me.
I tested it on both x86_64 and s390 with different configurations and could no longer reproduce the failures.
Using a non-pipe core_pattern during the test is a good solution for my setup.
Regards,
Jan
More information about the ltp
mailing list