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 ATF test attach2/t_ptrace_wait* is unstable
details: https://anonhg.NetBSD.org/src/rev/4563d1e3ab02
branches: trunk
changeset: 352963:4563d1e3ab02
user: kamil <kamil%NetBSD.org@localhost>
date: Sun Apr 16 13:09:40 2017 +0000
description:
ATF test attach2/t_ptrace_wait* is unstable
Mark it broken with:
PR kern/52168 attach2:t_ptrace_wait* is unsable
In order to get reliable failure, abort this test at the end (if we get
there).
diffstat:
tests/lib/libc/sys/t_ptrace_wait.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 8f4761f66fa8 -r 4563d1e3ab02 tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c Sun Apr 16 12:50:59 2017 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c Sun Apr 16 13:09:40 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_wait.c,v 1.7 2017/04/16 12:50:59 kamil Exp $ */
+/* $NetBSD: t_ptrace_wait.c,v 1.8 2017/04/16 13:09:40 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.7 2017/04/16 12:50:59 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.8 2017/04/16 13:09:40 kamil Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -413,6 +413,8 @@
int status;
#endif
+ atf_tc_expect_fail("PR kern/52168");
+
printf("Spawn tracee\n");
ATF_REQUIRE(msg_open(&parent_tracee) == 0);
tracee = atf_utils_fork();
@@ -494,6 +496,7 @@
msg_close(&parent_tracer);
msg_close(&parent_tracee);
+ ATF_REQUIRE(0 && "In order to get reliable failure, abort");
}
#endif
Home |
Main Index |
Thread Index |
Old Index