Module Name:    src
Committed By:   kamil
Date:           Sun Apr 16 13:09:40 UTC 2017

Modified Files:
        src/tests/lib/libc/sys: t_ptrace_wait.c

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 src/tests/lib/libc/sys/t_ptrace_wait.c:1.8
--- src/tests/lib/libc/sys/t_ptrace_wait.c:1.7	Sun Apr 16 12:50:59 2017
+++ src/tests/lib/libc/sys/t_ptrace_wait.c	Sun Apr 16 13:09:40 2017
@@ -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 @@ ATF_TC_BODY(attach2, tc)
 	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 @@ ATF_TC_BODY(attach2, tc)
 	msg_close(&parent_tracer);
 	msg_close(&parent_tracee);
 
+	ATF_REQUIRE(0 && "In order to get reliable failure, abort");
 }
 #endif
 

Reply via email to