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 Add timeout to syscall_signal_on_sce that...



details:   https://anonhg.NetBSD.org/src/rev/c560e98fd937
branches:  trunk
changeset: 930834:c560e98fd937
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Apr 14 22:37:24 2020 +0000

description:
Add timeout to syscall_signal_on_sce that hangs from time to time

diffstat:

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

diffs (26 lines):

diff -r 6c84381411b4 -r c560e98fd937 tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Tue Apr 14 15:36:02 2020 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Tue Apr 14 22:37:24 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.169 2020/03/07 14:53:14 christos Exp $     */
+/*     $NetBSD: t_ptrace_wait.c,v 1.170 2020/04/14 22:37:24 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.169 2020/03/07 14:53:14 christos Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.170 2020/04/14 22:37:24 kamil Exp $");
 
 #define __LEGACY_PT_LWPINFO
 
@@ -7579,6 +7579,7 @@
 ATF_TC(name);                                                          \
 ATF_TC_HEAD(name, tc)                                                  \
 {                                                                      \
+       atf_tc_set_md_var(tc, "timeout", "15");                         \
        atf_tc_set_md_var(tc, "descr",                                  \
            "Verify that getpid(2) can be traced with PT_SYSCALL %s",   \
           #op );                                                       \



Home | Main Index | Thread Index | Old Index