diff options
author | fvogel <fvogelnew1@free.fr> | 2018-07-22 09:39:13 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-07-22 09:39:13 (GMT) |
commit | ef682e251b9de81106d91e52d84aaba4b10f858f (patch) | |
tree | 1a5f28f5b8e282b4bce66f46b2ed7c80d75823e7 /tests/imgPhoto.test | |
parent | 315f3c653f20811c037a8fd8c3ca063f494aa74b (diff) | |
download | tk-ef682e251b9de81106d91e52d84aaba4b10f858f.zip tk-ef682e251b9de81106d91e52d84aaba4b10f858f.tar.gz tk-ef682e251b9de81106d91e52d84aaba4b10f858f.tar.bz2 |
Better comment in the test, by Erik Leunissen
Diffstat (limited to 'tests/imgPhoto.test')
-rw-r--r-- | tests/imgPhoto.test | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test index f00d8eb..97fb7ae 100644 --- a/tests/imgPhoto.test +++ b/tests/imgPhoto.test @@ -1205,15 +1205,13 @@ test imgPhoto-14.5 {Bug [fbaed1f66b] - GIF decoder with deferred clear code} -se set fileName [file join [file dirname [info script]] deferredClearCode.gif] } -body { # This erroneously produced "malformed image" error. - # The deferredClearCode.gif image only has two frames, and calling for -index 2 - # simply is an easy way to trigger the problem of improper management of a - # deferred clear code. It's easier to show the problem using a GIF image with - # several frames. With just a single frame, the effect is that the GIF decoder - # bailed out before the end of the image reading, which produces black pixels - # at the bottom of the image but no "malformed image error". + # The animated GIF "deferredClearCode.gif" has two frames, and calling for -index 2 + # simply is an easy way to trigger the problem of improper management of a deferred + # clear code. The effect was that the GIF decoder bailed out before the end of the + # image reading, and produced the inappropriate "malformed image error". image create photo -file $fileName -format "gif -index 2" } -returnCodes error -result {no image data for this index} - + test imgPhoto-15.1 {photo images can fail to allocate memory gracefully} -constraints { nonPortable } -body { |