Module Name: src Committed By: kamil Date: Tue May 5 18:12:20 UTC 2020
Modified Files: src/tests/lib/libc/sys: t_ptrace_sigchld.c Log Message: Skip traceme_raise* tests rather than failing upfront This avoid reporting the tests as unexpected failure. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_ptrace_sigchld.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/sys/t_ptrace_sigchld.c diff -u src/tests/lib/libc/sys/t_ptrace_sigchld.c:1.2 src/tests/lib/libc/sys/t_ptrace_sigchld.c:1.3 --- src/tests/lib/libc/sys/t_ptrace_sigchld.c:1.2 Fri Mar 6 19:10:27 2020 +++ src/tests/lib/libc/sys/t_ptrace_sigchld.c Tue May 5 18:12:20 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_sigchld.c,v 1.2 2020/03/06 19:10:27 kamil Exp $ */ +/* $NetBSD: t_ptrace_sigchld.c,v 1.3 2020/05/05 18:12:20 kamil Exp $ */ /*- * Copyright (c) 2020 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_ptrace_sigchld.c,v 1.2 2020/03/06 19:10:27 kamil Exp $"); +__RCSID("$NetBSD: t_ptrace_sigchld.c,v 1.3 2020/05/05 18:12:20 kamil Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -123,7 +123,7 @@ traceme_raise(int sigval) sa.sa_flags = SA_SIGINFO | SA_NOCLDWAIT; sigemptyset(&sa.sa_mask); - atf_tc_fail("XXX: zombie is not collected before tracer's death"); + atf_tc_skip("XXX: zombie is not collected before tracer's death"); SYSCALL_REQUIRE(sigaction(SIGCHLD, &sa, NULL) == 0);