Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/sys Skip traceme_raise* tests rather than fai...



details:   https://anonhg.NetBSD.org/src/rev/922ef1b8ea19
branches:  trunk
changeset: 971827:922ef1b8ea19
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue May 05 18:12:20 2020 +0000

description:
Skip traceme_raise* tests rather than failing upfront

This avoid reporting the tests as unexpected failure.

diffstat:

 tests/lib/libc/sys/t_ptrace_sigchld.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fb42130d7a3e -r 922ef1b8ea19 tests/lib/libc/sys/t_ptrace_sigchld.c
--- a/tests/lib/libc/sys/t_ptrace_sigchld.c     Tue May 05 17:02:01 2020 +0000
+++ b/tests/lib/libc/sys/t_ptrace_sigchld.c     Tue May 05 18:12:20 2020 +0000
@@ -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 @@
        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);
 



Home | Main Index | Thread Index | Old Index