Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/regex add a large timeout for libtre



details:   https://anonhg.NetBSD.org/src/rev/ff7b2662cac5
branches:  trunk
changeset: 771104:ff7b2662cac5
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 09 15:14:44 2011 +0000

description:
add a large timeout for libtre

diffstat:

 tests/lib/libc/regex/t_exhaust.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r abf32aa35cc9 -r ff7b2662cac5 tests/lib/libc/regex/t_exhaust.c
--- a/tests/lib/libc/regex/t_exhaust.c  Wed Nov 09 14:42:42 2011 +0000
+++ b/tests/lib/libc/regex/t_exhaust.c  Wed Nov 09 15:14:44 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_exhaust.c,v 1.4 2011/11/06 18:34:48 christos Exp $   */
+/*     $NetBSD: t_exhaust.c,v 1.5 2011/11/09 15:14:44 christos Exp $   */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_exhaust.c,v 1.4 2011/11/06 18:34:48 christos Exp $");
+__RCSID("$NetBSD: t_exhaust.c,v 1.5 2011/11/09 15:14:44 christos Exp $");
 
 #include <stdio.h>
 #include <regex.h>
@@ -174,6 +174,8 @@
 
        atf_tc_set_md_var(tc, "descr", "Check that large patterns don't"
            " crash, but return a proper error code");
+       // libtre needs it.
+       atf_tc_set_md_var(tc, "timeout", "600");
 }
 
 ATF_TC_BODY(regcomp_too_big, tc)



Home | Main Index | Thread Index | Old Index