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 ptrace atf: Clanup reports of failures



details:   https://anonhg.NetBSD.org/src/rev/a911599c3bcb
branches:  trunk
changeset: 828644:a911599c3bcb
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Dec 22 17:35:14 2017 +0000

description:
ptrace atf: Clanup reports of failures

Mark resume* suspend* tests as expected failure and link with PR 51995.

Sponsored by <The NetBSD Foundation>

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r dc28a6633a0e -r a911599c3bcb tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Fri Dec 22 15:02:57 2017 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Fri Dec 22 17:35:14 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.16 2017/12/21 09:56:47 kamil Exp $ */
+/*     $NetBSD: t_ptrace_wait.c,v 1.17 2017/12/22 17:35:14 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.16 2017/12/21 09:56:47 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.17 2017/12/22 17:35:14 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -7063,6 +7063,9 @@
        struct ptrace_siginfo psi;
        volatile int go = 0;
 
+       // Feature pending for refactoring
+       atf_tc_expect_fail("PR kern/51995");
+
        // Hangs with qemu
        ATF_REQUIRE(0 && "In order to get reliable failure, abort");
 
@@ -7187,6 +7190,9 @@
 #endif
        struct ptrace_siginfo psi;
 
+       // Feature pending for refactoring
+       atf_tc_expect_fail("PR kern/51995");
+
        // Hangs with qemu
        ATF_REQUIRE(0 && "In order to get reliable failure, abort");
 
@@ -7264,8 +7270,9 @@
        struct ptrace_lwpinfo pl;
        struct ptrace_siginfo psi;
 
-       // Times out
-       atf_tc_expect_timeout("PR kern/51995");
+       // Feature pending for refactoring
+       atf_tc_expect_fail("PR kern/51995");
+
        // Hangs with qemu
        ATF_REQUIRE(0 && "In order to get reliable failure, abort");
 



Home | Main Index | Thread Index | Old Index