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 this works with much less memory too.



details:   https://anonhg.NetBSD.org/src/rev/3ace9c0774c8
branches:  trunk
changeset: 771252:3ace9c0774c8
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 16 18:37:31 2011 +0000

description:
this works with much less memory too.

diffstat:

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

diffs (27 lines):

diff -r 663a6b0a9fca -r 3ace9c0774c8 tests/lib/libc/regex/t_exhaust.c
--- a/tests/lib/libc/regex/t_exhaust.c  Wed Nov 16 17:47:19 2011 +0000
+++ b/tests/lib/libc/regex/t_exhaust.c  Wed Nov 16 18:37:31 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_exhaust.c,v 1.6 2011/11/16 17:47:19 christos Exp $   */
+/*     $NetBSD: t_exhaust.c,v 1.7 2011/11/16 18:37:31 christos Exp $   */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_exhaust.c,v 1.6 2011/11/16 17:47:19 christos Exp $");
+__RCSID("$NetBSD: t_exhaust.c,v 1.7 2011/11/16 18:37:31 christos Exp $");
 
 #include <stdio.h>
 #include <regex.h>
@@ -176,7 +176,7 @@
            " crash, but return a proper error code");
        // libtre needs it.
        atf_tc_set_md_var(tc, "timeout", "600");
-       atf_tc_set_md_var(tc, "require.memory", "500M");
+       atf_tc_set_md_var(tc, "require.memory", "120M");
 }
 
 ATF_TC_BODY(regcomp_too_big, tc)



Home | Main Index | Thread Index | Old Index