Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/kernel lwpinfo1 and lwpinfo2 in t_ptrace_wait{, 3, 4, 6, i...
details: https://anonhg.NetBSD.org/src/rev/a81844c581a2
branches: trunk
changeset: 349295:a81844c581a2
user: kamil <kamil%NetBSD.org@localhost>
date: Sun Dec 04 23:48:02 2016 +0000
description:
lwpinfo1 and lwpinfo2 in t_ptrace_wait{,3,4,6,id,pid} no longer fails
Remove atf_tc_expect_fail() linked with PR kern/51685.
Issue fixed by Christsos Zoulas in src/sys/kern/kern_sig.c r. 1.331
Sponsored by <The NetBSD Foundation>
diffstat:
tests/kernel/t_ptrace_wait.c | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diffs (44 lines):
diff -r 9d650a2f69f1 -r a81844c581a2 tests/kernel/t_ptrace_wait.c
--- a/tests/kernel/t_ptrace_wait.c Sun Dec 04 18:43:07 2016 +0000
+++ b/tests/kernel/t_ptrace_wait.c Sun Dec 04 23:48:02 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_wait.c,v 1.38 2016/12/03 07:23:08 kamil Exp $ */
+/* $NetBSD: t_ptrace_wait.c,v 1.39 2016/12/04 23:48:02 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.38 2016/12/03 07:23:08 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.39 2016/12/04 23:48:02 kamil Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -4637,12 +4637,6 @@
#endif
struct ptrace_lwpinfo info = {0};
- /*
- * ptrace(2): Signal does not set PL_EVENT_SIGNAL in
- * (struct ptrace_lwpinfo.)pl_event
- */
- atf_tc_expect_fail("PR kern/51685");
-
printf("Before forking process PID=%d\n", getpid());
child = atf_utils_fork();
if (child == 0) {
@@ -4715,12 +4709,6 @@
#endif
struct ptrace_lwpinfo info = {0};
- /*
- * ptrace(2): Signal does not set PL_EVENT_SIGNAL in
- * (struct ptrace_lwpinfo.)pl_event
- */
- atf_tc_expect_fail("PR kern/51685");
-
printf("Spawn tracee\n");
ATF_REQUIRE(pipe(fds_totracee) == 0);
tracee = atf_utils_fork();
Home |
Main Index |
Thread Index |
Old Index