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 Remove expected fail in various ATF t_ptr...



details:   https://anonhg.NetBSD.org/src/rev/4c37901c55b5
branches:  trunk
changeset: 997463:4c37901c55b5
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Mar 08 23:35:01 2019 +0000

description:
Remove expected fail in various ATF t_ptrace_wait* tests

Tests for trap signal scenarios no longer fail.

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diffs (58 lines):

diff -r 4d444c11ba1d -r 4c37901c55b5 tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Fri Mar 08 23:32:30 2019 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Fri Mar 08 23:35:01 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.99 2019/03/02 01:01:20 kamil Exp $ */
+/*     $NetBSD: t_ptrace_wait.c,v 1.100 2019/03/08 23:35:01 kamil Exp $        */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.99 2019/03/02 01:01:20 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.100 2019/03/08 23:35:01 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -534,8 +534,6 @@
 
        memset(&info, 0, sizeof(info));
 
-       atf_tc_expect_fail("Unexpected sigmask reset on crash under debugger");
-
        DPRINTF("Before forking process PID=%d\n", getpid());
        SYSCALL_REQUIRE((child = fork()) != -1);
        if (child == 0) {
@@ -711,8 +709,6 @@
                atf_tc_skip("PTRACE_ILLEGAL_ASM not defined");
 #endif
 
-       atf_tc_expect_fail("Unexpected sigmask reset on crash under debugger");
-
        memset(&info, 0, sizeof(info));
 
        DPRINTF("Before forking process PID=%d\n", getpid());
@@ -1935,10 +1931,6 @@
 
        memset(&info, 0, sizeof(info));
 
-       if (masked || ignored)
-               atf_tc_expect_fail("Unexpected sigmask reset on crash under "
-                   "debugger");
-
        DPRINTF("Spawn tracee\n");
        SYSCALL_REQUIRE(msg_open(&parent_tracee) == 0);
        tracee = atf_utils_fork();
@@ -3834,10 +3826,6 @@
        atf_tc_expect_fail("PR kern/52119");
 #endif
 
-       if (masked || ignored)
-               atf_tc_expect_fail("Unexpected sigmask reset on crash under "
-                   "debugger");
-
        DPRINTF("Before forking process PID=%d\n", getpid());
        SYSCALL_REQUIRE((child = fork()) != -1);
        if (child == 0) {



Home | Main Index | Thread Index | Old Index