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 Skip the lib/libc/sys/t_ptrace_waitid:sys...



details:   https://anonhg.NetBSD.org/src/rev/a7a42b7ed30e
branches:  trunk
changeset: 1024392:a7a42b7ed30e
user:      gson <gson%NetBSD.org@localhost>
date:      Thu Oct 21 17:02:37 2021 +0000

description:
Skip the lib/libc/sys/t_ptrace_waitid:syscall_signal_on_sce test case
with a reference to PR lib/55087.  Marking it as an expected failure
would be more appropriate, but that doesn't work for test cases that
fail by timing out.

diffstat:

 tests/lib/libc/sys/t_ptrace_syscall_wait.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r c11a866bc1cb -r a7a42b7ed30e tests/lib/libc/sys/t_ptrace_syscall_wait.h
--- a/tests/lib/libc/sys/t_ptrace_syscall_wait.h        Thu Oct 21 13:21:53 2021 +0000
+++ b/tests/lib/libc/sys/t_ptrace_syscall_wait.h        Thu Oct 21 17:02:37 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_syscall_wait.h,v 1.1 2020/05/04 21:21:30 kamil Exp $  */
+/*     $NetBSD: t_ptrace_syscall_wait.h,v 1.2 2021/10/21 17:02:37 gson Exp $   */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019, 2020 The NetBSD Foundation, Inc.
@@ -55,11 +55,13 @@
 
        memset(&info, 0, sizeof(info));
 
+       if (strstr(op, "signal") != NULL) {
 #if defined(TWAIT_HAVE_STATUS)
-       if (strstr(op, "signal") != NULL) {
                atf_tc_expect_fail("XXX: behavior under investigation");
+#else
+               atf_tc_skip("PR lib/55087");
+#endif
        }
-#endif
 
        DPRINTF("Before forking process PID=%d\n", getpid());
        SYSCALL_REQUIRE((child = fork()) != -1);



Home | Main Index | Thread Index | Old Index