Source-Changes-HG archive

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

[src/trunk]: src/tests/kernel Clean up after fixes and refactoring by Christo...



details:   https://anonhg.NetBSD.org/src/rev/532195718bc2
branches:  trunk
changeset: 349320:532195718bc2
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Dec 06 08:03:09 2016 +0000

description:
Clean up after fixes and refactoring by Christos Zoulas

No functional change, remove dead and unneeded code.

Sponsored by <The NetBSD Foundation>

diffstat:

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

diffs (41 lines):

diff -r f30626d994a2 -r 532195718bc2 tests/kernel/t_ptrace_wait.c
--- a/tests/kernel/t_ptrace_wait.c      Tue Dec 06 07:49:25 2016 +0000
+++ b/tests/kernel/t_ptrace_wait.c      Tue Dec 06 08:03:09 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.43 2016/12/05 22:05:53 christos Exp $      */
+/*     $NetBSD: t_ptrace_wait.c,v 1.44 2016/12/06 08:03:09 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.43 2016/12/05 22:05:53 christos Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.44 2016/12/06 08:03:09 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -52,7 +52,6 @@
 
 #include "t_ptrace_wait.h"
 #include "msg.h"
-#define atf_utils_fork() fork()
 
 #define PARENT_TO_CHILD(info, fds, msg) \
     ATF_REQUIRE(msg_write_child(info " to child " # fds, &fds, &msg, sizeof(msg)) == 0)
@@ -4472,14 +4471,6 @@
 #endif
        struct ptrace_lwpinfo info = {0};
 
-#if 0
-       /*
-        * ptrace(2): Signal does not set PL_EVENT_SIGNAL inOB
-        * (struct ptrace_lwpinfo.)pl_event
-        */
-       atf_tc_expect_fail("PR kern/51685");
-#endif
-
        printf("Spawn tracee\n");
        ATF_REQUIRE(msg_open(&parent_tracee) == 0);
        ATF_REQUIRE(msg_open(&parent_tracer) == 0);



Home | Main Index | Thread Index | Old Index