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 Comment out two tests that regularily han...



details:   https://anonhg.NetBSD.org/src/rev/99c8153f06ac
branches:  trunk
changeset: 320732:99c8153f06ac
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 17 06:13:08 2018 +0000

description:
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:

 tests/lib/libc/sys/t_ptrace_wait.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 2aa8700c9177 -r 99c8153f06ac tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Tue Jul 17 05:52:07 2018 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Tue Jul 17 06:13:08 2018 +0000
@@ -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_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);



Home | Main Index | Thread Index | Old Index