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 Mark sigbus ATF tests in t_ptrace_wait as...



details:   https://anonhg.NetBSD.org/src/rev/c61804427ad8
branches:  trunk
changeset: 833027:c61804427ad8
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed Jun 06 13:16:32 2018 +0000

description:
Mark sigbus ATF tests in t_ptrace_wait as expected failure

They are breaking right now on all ports.

lib/53343

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r b775706df018 -r c61804427ad8 tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Wed Jun 06 12:02:43 2018 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Wed Jun 06 13:16:32 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.61 2018/06/01 05:48:29 kre Exp $   */
+/*     $NetBSD: t_ptrace_wait.c,v 1.62 2018/06/06 13:16:32 kamil Exp $ */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.61 2018/06/01 05:48:29 kre Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.62 2018/06/06 13:16:32 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -191,6 +191,10 @@
 
        memset(&info, 0, sizeof(info));
 
+       if (sig == SIGBUS) {
+               atf_tc_expect_fail("lib/53343");
+       }
+
        DPRINTF("Before forking process PID=%d\n", getpid());
        SYSCALL_REQUIRE((child = fork()) != -1);
        if (child == 0) {



Home | Main Index | Thread Index | Old Index