From ba554f4052816e0f79b83a0fb6184084cf291994 Mon Sep 17 00:00:00 2001 From: hobbs Date: Mon, 26 May 2008 21:46:44 +0000 Subject: reduce reg-33.14 space used to prevent stack segfault --- tests/reg.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/reg.test b/tests/reg.test index 2abe7b6..d7b8c5f 100644 --- a/tests/reg.test +++ b/tests/reg.test @@ -9,7 +9,7 @@ # # Copyright (c) 1998, 1999 Henry Spencer. All rights reserved. # -# RCS: @(#) $Id: reg.test,v 1.16.2.4 2007/12/18 11:23:16 dkf Exp $ +# RCS: @(#) $Id: reg.test,v 1.16.2.5 2008/05/26 21:46:44 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -1138,7 +1138,7 @@ test reg-33.13 {Bug 1810264 - infinite loop} { } 1 test reg-33.14 {Bug 1810264 - super-expensive expression} { set start [clock seconds] - regexp {(x{200}){200}$y} {x} + regexp {(x{100}){100}$y} {x} set time [expr {[clock seconds] - $start}] expr {$time < 5 ? "ok" : "Complex RE took $time seconds - bad!"} } ok -- cgit v0.12