Module Name: src Committed By: kamil Date: Fri Mar 8 23:35:01 UTC 2019
Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove expected fail in various ATF t_ptrace_wait* tests Tests for trap signal scenarios no longer fail. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/tests/lib/libc/sys/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/sys/t_ptrace_wait.c diff -u src/tests/lib/libc/sys/t_ptrace_wait.c:1.99 src/tests/lib/libc/sys/t_ptrace_wait.c:1.100 --- src/tests/lib/libc/sys/t_ptrace_wait.c:1.99 Sat Mar 2 01:01:20 2019 +++ src/tests/lib/libc/sys/t_ptrace_wait.c Fri Mar 8 23:35:01 2019 @@ -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 @@ traceme_signalmasked_crash(int sig) 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 @@ traceme_signalignored_crash(int sig) 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 @@ unrelated_tracer_sees_crash(int sig, boo 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 @@ ptrace_step(int N, int setstep, bool mas 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) {