summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2016-06-27 14:28:33 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2016-06-27 14:28:33 (GMT)
commite769ee4cc7d61e101e38f717cad600a0537603dd (patch)
tree6d5c037f03d0667041a0f406e67de94bb8352aff /tests
parent039129beee818bb0aa8a756e09cb8a1b3ac68f49 (diff)
parent2453f30fb9e0fd71b6fc37ef6df3385f2efaf6d5 (diff)
downloadtcl-e769ee4cc7d61e101e38f717cad600a0537603dd.zip
tcl-e769ee4cc7d61e101e38f717cad600a0537603dd.tar.gz
tcl-e769ee4cc7d61e101e38f717cad600a0537603dd.tar.bz2
[dd260aaf72] Allow the -dictionary option to be read from a pushed transform.
Diffstat (limited to 'tests')
-rw-r--r--tests/zlib.test20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/zlib.test b/tests/zlib.test
index 968469d..c9e5f10 100644
--- a/tests/zlib.test
+++ b/tests/zlib.test
@@ -401,6 +401,26 @@ test zlib-8.16 {Bug 3603553: buffer transfer with large writes} -setup {
} -cleanup {
removeFile $file
} -result 57647
+test zlib-8.17 {Bug dd260aaf: fconfigure} -setup {
+ lassign [chan pipe] inSide outSide
+} -constraints zlib -body {
+ zlib push inflate $inSide
+ zlib push deflate $outSide
+ list [chan configure $inSide -dictionary] [chan configure $outSide -dictionary]
+} -cleanup {
+ catch {close $inSide}
+ catch {close $outSide}
+} -result {{} {}}
+test zlib-8.18 {Bug dd260aaf: fconfigure} -setup {
+ lassign [chan pipe] inSide outSide
+} -constraints zlib -body {
+ zlib push inflate $inSide -dictionary "one two"
+ zlib push deflate $outSide -dictionary "one two"
+ list [chan configure $inSide -dictionary] [chan configure $outSide -dictionary]
+} -cleanup {
+ catch {close $inSide}
+ catch {close $outSide}
+} -result {{one two} {one two}}
test zlib-9.1 "check fcopy with push" -constraints zlib -setup {
set sfile [makeFile {} testsrc.gz]