diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-03-04 17:26:10 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-03-04 17:26:10 (GMT) |
commit | 4c420cfc0c8b98ec83ac96e46902749d47720223 (patch) | |
tree | 761d2d7a26e1bb1784c416d6739c622f1fcf9eb8 /tests/zlib.test | |
parent | 5119564c4202954fb6ad5bba77a1371f4a1d7920 (diff) | |
download | tcl-4c420cfc0c8b98ec83ac96e46902749d47720223.zip tcl-4c420cfc0c8b98ec83ac96e46902749d47720223.tar.gz tcl-4c420cfc0c8b98ec83ac96e46902749d47720223.tar.bz2 |
Fix bug 2662434
Diffstat (limited to 'tests/zlib.test')
-rw-r--r-- | tests/zlib.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/zlib.test b/tests/zlib.test index dd0b1dc..41599a6 100644 --- a/tests/zlib.test +++ b/tests/zlib.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: zlib.test,v 1.6 2008/12/21 21:17:19 das Exp $ +# RCS: @(#) $Id: zlib.test,v 1.7 2009/03/04 17:26:24 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -62,6 +62,9 @@ test zlib-6.2 {zlib crc32} zlib { test zlib-6.3 {zlib crc32} -constraints zlib -returnCodes error -body { zlib crc32 abcdeabcdeabcdeabcdeabcdeabcde 42 x } -result {wrong # args: should be "zlib crc32 data ?startValue?"} +test zlib-6.4 {zlib crc32: bug 2662434} -constraints zlib -body { + zlib crc32 "dabale arroz a la zorra el abad" +} -result 3842832571 test zlib-7.0 {zlib stream} -constraints zlib -returnCodes error -setup { set s [zlib stream compress] |