Source-Changes-HG archive

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

[src/trunk]: src/tests/kernel Mark resume1 and syscallemu1 tests broken in t_...



details:   https://anonhg.NetBSD.org/src/rev/c73bf4786831
branches:  trunk
changeset: 822080:c73bf4786831
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Feb 28 13:29:52 2017 +0000

description:
Mark resume1 and syscallemu1 tests broken in t_ptrace_wait*

resume1:
    PR kern/51995 ptrace(2) PT_RESUME is not reliable

syscallemu1:
    PR kern/52012 PT_SYSCALL does not stop on syscall entry

Sponsored by <The NetBSD Foundation>

diffstat:

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

diffs (36 lines):

diff -r 66414af8a782 -r c73bf4786831 tests/kernel/t_ptrace_wait.c
--- a/tests/kernel/t_ptrace_wait.c      Tue Feb 28 13:19:50 2017 +0000
+++ b/tests/kernel/t_ptrace_wait.c      Tue Feb 28 13:29:52 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.74 2017/02/28 13:19:50 kamil Exp $ */
+/*     $NetBSD: t_ptrace_wait.c,v 1.75 2017/02/28 13:29:52 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.74 2017/02/28 13:19:50 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.75 2017/02/28 13:29:52 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -7298,6 +7298,8 @@
        struct ptrace_lwpinfo pl;
        struct ptrace_siginfo psi;
 
+       atf_tc_expect_fail("PR kern/51995");
+
        ATF_REQUIRE(msg_open(&fds) == 0);
 
        printf("Before forking process PID=%d\n", getpid());
@@ -7486,6 +7488,8 @@
        int status;
 #endif
 
+       atf_tc_expect_fail("PR kern/52012");
+
        printf("Before forking process PID=%d\n", getpid());
        ATF_REQUIRE((child = fork()) != -1);
        if (child == 0) {



Home | Main Index | Thread Index | Old Index