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>
This commit is contained in:
kamil 2017-02-28 13:29:52 +00:00
parent d2c80310bc
commit ad0426b8f6

View File

@ -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 @@ ATF_TC_BODY(resume1, tc)
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 @@ ATF_TC_BODY(syscallemu1, tc)
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) {