summaryrefslogtreecommitdiff
path: root/tests/lib/libc/sys
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2018-07-17 06:13:08 +0000
committermartin <martin@NetBSD.org>2018-07-17 06:13:08 +0000
commita9f9db3688bfbf4eddcc4bbc5d3ddad925b9ddf1 (patch)
tree281080b7dcb6f83365f05eed5b1fbdbd6b8416c2 /tests/lib/libc/sys
parente3a6f00acd1f787df67f39788bb7a9e8dd2b8b63 (diff)
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 ;-)
Diffstat (limited to 'tests/lib/libc/sys')
-rw-r--r--tests/lib/libc/sys/t_ptrace_wait.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/lib/libc/sys/t_ptrace_wait.c b/tests/lib/libc/sys/t_ptrace_wait.c
index bb05e218057..ca26d961a0e 100644
--- a/tests/lib/libc/sys/t_ptrace_wait.c
+++ b/tests/lib/libc/sys/t_ptrace_wait.c
@@ -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);