diff options
Diffstat (limited to 'tests/bigdata.test')
-rw-r--r-- | tests/bigdata.test | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/tests/bigdata.test b/tests/bigdata.test index 87c5a59..d2749c0 100644 --- a/tests/bigdata.test +++ b/tests/bigdata.test @@ -880,32 +880,24 @@ bigtest linsert-bigdata-1 "linsert" {4294967330 1} -body { # # list and {*} # TODO - compiled and uncompiled behave differently so tested separately -bigtestRO xxlist-bigdata-1 {list {*} } {4294967296 0 4294967295} -body { - unset -nocomplain l2 - set l2 [list {*}$l] - list [llength $l2] [lindex $l2 0] [lindex $l2 end] -} -setup { - set l [bigList 0x100000000] -} -cleanup { - bigClean -} -constraints bug-7cddd2845c -test list-bigdata-1.compiled {list {*} } -body { +test list-bigdata-1.compiled {list {*}} -body { set l [bigList 0x100000000] set l2 [list {*}$l] unset l list [llength $l2] [lindex $l2 0] [lindex $l2 end] } -cleanup { bigClean +} -constraints { + bigdata } -result {4294967296 0 5} -test list-bigdata-1.uncompiled {list {*} } -body { +test list-bigdata-1.uncompiled {list {*}} -body { set l [bigList 0x7fffffff] testevalex {set l2 [list {*}$l]} - unset l - list [llength $l2] [lindex $l2 0] [lindex $l2 end] } -cleanup { bigClean -} -result {4294967296 0 5} - +} -constraints { + bigdata +} -result {Number of words in command exceeds limit 2147483647.} -returnCodes error # # llength |