From e1f2905dbc8aa23df976e658966dce7447690de4 Mon Sep 17 00:00:00 2001 From: apnadkarni Date: Mon, 1 May 2023 06:41:25 +0000 Subject: Added missing bigdata constraint --- tests/bigdata.test | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/bigdata.test b/tests/bigdata.test index 6ecf4a0..a28a4cb 100644 --- a/tests/bigdata.test +++ b/tests/bigdata.test @@ -123,10 +123,14 @@ bigtestRO script-length-bigdata-1 {Test script length limit} b -body { # TODO - different behaviour between compiled and uncompiled test script-length-bigdata-2.compiled {Test script length limit} -body { try [string cat [string repeat " " 0x7ffffff8] "set a b"] +} -constraints { + bigdata } -result {Script length 2147483647 exceeds max permitted length 2147483646.} -returnCodes error test script-length-bigdata-2.uncompiled {Test script length limit} -body { testevalex [string cat [string repeat " " 0x7ffffff8] "set a b"] -} -result b +} -constraints { + bigdata + } -result b test script-bytecode-length-bigdata-1 {Test bytecode length limit} -body { # Note we need to exceed bytecode limit without exceeding script char limit set s [string repeat {{*}$x;} [expr 0x7fffffff/6]] -- cgit v0.12