Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/kernel Optimize signal6 in t_ptrace_wait
details: https://anonhg.NetBSD.org/src/rev/08ad90868d05
branches: trunk
changeset: 352358:08ad90868d05
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Mar 28 01:40:39 2017 +0000
description:
Optimize signal6 in t_ptrace_wait
Reduce timeout to 5 seconds. This tests timeouts and this change saves
time.
PR kern/51918
Sponsored by <The NetBSD Foundation>
diffstat:
tests/kernel/t_ptrace_wait.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a4aeef50760f -r 08ad90868d05 tests/kernel/t_ptrace_wait.c
--- a/tests/kernel/t_ptrace_wait.c Tue Mar 28 01:27:46 2017 +0000
+++ b/tests/kernel/t_ptrace_wait.c Tue Mar 28 01:40:39 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_wait.c,v 1.79 2017/03/28 01:00:33 kamil Exp $ */
+/* $NetBSD: t_ptrace_wait.c,v 1.80 2017/03/28 01:40:39 kamil Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.79 2017/03/28 01:00:33 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.80 2017/03/28 01:40:39 kamil Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -6014,6 +6014,7 @@
ATF_TC(signal6);
ATF_TC_HEAD(signal6, tc)
{
+ atf_tc_set_md_var(tc, "timeout", "5");
atf_tc_set_md_var(tc, "descr",
"Verify that masking SIGTRAP in tracee does not stop tracer from "
"catching PTRACE_FORK breakpoint");
Home |
Main Index |
Thread Index |
Old Index