Module Name: src
Committed By: martin
Date: Tue Jul 17 06:13:08 UTC 2018
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Comment out two tests that regularily hang on SMP machines (with unkillable
helper/child processes, so ATF timeout does not help).
Kamil knows about the SMP race in traced exit path and said he'll handle
it.
I would have skipped them on SMP machines only, but got lost in the
macro labyrinth - kamil, please feel free to improve ;-)
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 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.63 src/tests/lib/libc/sys/t_ptrace_wait.c:1.64
--- src/tests/lib/libc/sys/t_ptrace_wait.c:1.63 Wed Jun 6 13:18:44 2018
+++ src/tests/lib/libc/sys/t_ptrace_wait.c Tue Jul 17 06:13:08 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_wait.c,v 1.63 2018/06/06 13:18:44 kamil Exp $ */
+/* $NetBSD: t_ptrace_wait.c,v 1.64 2018/07/17 06:13:08 martin Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.63 2018/06/06 13:18:44 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.64 2018/07/17 06:13:08 martin Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -5646,8 +5646,9 @@ ATF_TP_ADD_TCS(tp)
ATF_TP_ADD_TC_HAVE_PID(tp, vfork4);
ATF_TP_ADD_TC(tp, vfork5);
ATF_TP_ADD_TC_HAVE_PID(tp, vfork6);
- ATF_TP_ADD_TC_HAVE_PID(tp, vfork7);
- ATF_TP_ADD_TC_HAVE_PID(tp, vfork8);
+// thes tests hang on SMP machines, disable them for now
+// ATF_TP_ADD_TC_HAVE_PID(tp, vfork7);
+// ATF_TP_ADD_TC_HAVE_PID(tp, vfork8);
ATF_TP_ADD_TC(tp, bytes_transfer_piod_read_d_8);
ATF_TP_ADD_TC(tp, bytes_transfer_piod_read_d_16);