diff options
author | dgp <dgp@users.sourceforge.net> | 2016-09-08 14:34:35 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-09-08 14:34:35 (GMT) |
commit | 7eac217cbcdf7d0764c8fbc0a3c09bdd31fbc4a4 (patch) | |
tree | 941ec84a540d886ab16d256cc6c408416dd860b0 /tests/zlib.test | |
parent | fa105712c19ab4f84d85f6e33cb51a85e2ad259f (diff) | |
parent | 313d238fb894ff0775f40ec5aee77627742a3b1b (diff) | |
download | tcl-7eac217cbcdf7d0764c8fbc0a3c09bdd31fbc4a4.zip tcl-7eac217cbcdf7d0764c8fbc0a3c09bdd31fbc4a4.tar.gz tcl-7eac217cbcdf7d0764c8fbc0a3c09bdd31fbc4a4.tar.bz2 |
merge bytecode init reworking
Diffstat (limited to 'tests/zlib.test')
-rw-r--r-- | tests/zlib.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/zlib.test b/tests/zlib.test index 7a486ba..968469d 100644 --- a/tests/zlib.test +++ b/tests/zlib.test @@ -875,6 +875,24 @@ test zlib-11.3 {Bug 3595576 variant} -setup { } -cleanup { removeFile $file } -returnCodes error -result {can't set "noSuchNs::foo": parent namespace doesn't exist} + +test zlib-12.1 {Tk Bug 9eb55debc5} -constraints zlib -setup { + set stream [zlib stream compress] +} -body { + for {set opts {};set y 0} {$y < 60} {incr y} { + for {set line {};set x 0} {$x < 100} {incr x} { + append line [binary format ccc $x $y 128] + } + if {$y == 59} { + set opts -finalize + } + $stream put {*}$opts $line + } + set data [$stream get] + list [string length $data] [string length [zlib decompress $data]] +} -cleanup { + $stream close +} -result {12026 18000} ::tcltest::cleanupTests return |