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 Enable vfork(2) ATF tests in t_ptrace_wait*



details:   https://anonhg.NetBSD.org/src/rev/bb15abd6d7b3
branches:  trunk
changeset: 451987:bb15abd6d7b3
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Jun 13 20:26:06 2019 +0000

description:
Enable vfork(2) ATF tests in t_ptrace_wait*

The racing issues are gone in my local setup.

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4a764a119ef0 -r bb15abd6d7b3 tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Thu Jun 13 20:23:56 2019 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Thu Jun 13 20:26:06 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.126 2019/06/12 17:07:11 kamil Exp $        */
+/*     $NetBSD: t_ptrace_wait.c,v 1.127 2019/06/13 20:26:06 kamil Exp $        */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.126 2019/06/12 17:07:11 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.127 2019/06/13 20:26:06 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -100,7 +100,7 @@
     while (/*CONSTCOND*/0)
 
 #ifndef TEST_VFORK_ENABLED
-#define TEST_VFORK_ENABLED 0
+#define TEST_VFORK_ENABLED 1
 #endif
 
 /// ----------------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index