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 Restore atf_tc_expect_fail in signal4 of ...



details:   https://anonhg.NetBSD.org/src/rev/5175f40e2edd
branches:  trunk
changeset: 352953:5175f40e2edd
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sun Apr 16 12:03:25 2017 +0000

description:
Restore atf_tc_expect_fail in signal4 of t_ptrace_wait*

Accidentally there was removed a PR, it was never fixed.

PR 51918 "ptrace tracee can prevent tracer to get its signals by masking"

diffstat:

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

diffs (30 lines):

diff -r 9daf736d61ac -r 5175f40e2edd tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Sun Apr 16 10:34:49 2017 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Sun Apr 16 12:03:25 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.4 2017/04/12 18:18:00 kamil Exp $  */
+/*     $NetBSD: t_ptrace_wait.c,v 1.5 2017/04/16 12:03:25 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.4 2017/04/12 18:18:00 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.5 2017/04/16 12:03:25 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -5832,7 +5832,10 @@
        int happy;
 
 #if defined(__arm__)
-       atf_tc_expect_fail("PR kern/52119");
+       /* PT_STEP not supported on arm 32-bit */
+       atf_tc_expect_fail("PR kern/51918 PR kern/52119");
+#else
+       atf_tc_expect_fail("PR kern/52118");
 #endif
 
        printf("Before forking process PID=%d\n", getpid());



Home | Main Index | Thread Index | Old Index