diff options
author | hobbs <hobbs> | 2008-05-26 21:46:44 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2008-05-26 21:46:44 (GMT) |
commit | ba554f4052816e0f79b83a0fb6184084cf291994 (patch) | |
tree | c5e1b8c8f5bb60b8e18b7c8bb32265946aed4989 /tests/reg.test | |
parent | 269e8a56f4faa3cd6efed39d7842bdfbc7445cac (diff) | |
download | tcl-ba554f4052816e0f79b83a0fb6184084cf291994.zip tcl-ba554f4052816e0f79b83a0fb6184084cf291994.tar.gz tcl-ba554f4052816e0f79b83a0fb6184084cf291994.tar.bz2 |
reduce reg-33.14 space used to prevent stack segfault
Diffstat (limited to 'tests/reg.test')
-rw-r--r-- | tests/reg.test | 4 |
1 files 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 |