From f04088b904d6df4fac11db26271742e56620d6f8 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 17 Jul 2018 06:13:08 +0000 Subject: [PATCH] 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 ;-) --- tests/lib/libc/sys/t_ptrace_wait.c | 9 +++++---- 1 file 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 bb05e218057e..ca26d961a0e8 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 -__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 #include @@ -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);