Skip traceme_raise* tests rather than failing upfront

This avoid reporting the tests as unexpected failure.
This commit is contained in:
kamil 2020-05-05 18:12:20 +00:00
parent 4dbd32ce08
commit 43b8951996
1 changed files with 3 additions and 3 deletions

View File

@ -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);