diff options
author | kjnash <k.j.nash@usa.net> | 2017-06-12 12:29:23 (GMT) |
---|---|---|
committer | kjnash <k.j.nash@usa.net> | 2017-06-12 12:29:23 (GMT) |
commit | 330f372d9f7e3d3a3d4610a998e706bc584006fc (patch) | |
tree | 3bb9c9efbf9adc523eb60dff76daf11b66894706 | |
parent | 81fac925687a221f903c7d49dca2a0eff45d191d (diff) | |
download | tk-330f372d9f7e3d3a3d4610a998e706bc584006fc.zip tk-330f372d9f7e3d3a3d4610a998e706bc584006fc.tar.gz tk-330f372d9f7e3d3a3d4610a998e706bc584006fc.tar.bz2 |
Revised tests/imgPhoto.test - this bugfix branch forked from core-8-5-branch is ready for testing
-rw-r--r-- | tests/imgPhoto.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test index f1b0e68..4179f86 100644 --- a/tests/imgPhoto.test +++ b/tests/imgPhoto.test @@ -758,7 +758,7 @@ test imgPhoto-18.1 {Reject corrupted GIF (binary string)} -constraints { image create photo gif1 -data $data } -cleanup { catch {image delete gif1} -} -returnCodes error -result {error reading color map} +} -returnCodes error -result {error reading color map|not enough free memory for image buffer} -match regexp test imgPhoto-18.2 {Reject corrupted GIF (base 64 string)} -constraints { SegfaultOn8.5 } -setup { @@ -770,7 +770,7 @@ test imgPhoto-18.2 {Reject corrupted GIF (base 64 string)} -constraints { image create photo gif1 -data $data } -cleanup { catch {image delete gif1} -} -returnCodes error -result {error reading color map} +} -returnCodes error -result {error reading color map|not enough free memory for image buffer} -match regexp test imgPhoto-18.3 {Reject corrupted GIF (file)} -constraints { SegfaultOn8.5 } -setup { @@ -779,7 +779,7 @@ test imgPhoto-18.3 {Reject corrupted GIF (file)} -constraints { image create photo gif1 -file $fileName } -cleanup { catch {image delete gif1} -} -returnCodes error -result {error reading color map} +} -returnCodes error -result {error reading color map|not enough free memory for image buffer} -match regexp test imgPhoto-18.4 {Reject truncated GIF (binary string)} -constraints { SegfaultOn8.5 base64PackageNeeded } -setup { @@ -824,7 +824,7 @@ test imgPhoto-18.7 {Reject corrupted GIF (> 4Gb) (binary string)} -constraints { image create photo gif1 -data $data } -cleanup { catch {image delete gif1} -} -returnCodes error -result {not enough free memory for image buffer} +} -returnCodes error -result {error reading color map|not enough free memory for image buffer} -match regexp test imgPhoto-18.8 {Reject corrupted GIF (> 4Gb) (base 64 string)} -constraints { SegfaultOn8.5 } -setup { @@ -836,7 +836,7 @@ test imgPhoto-18.8 {Reject corrupted GIF (> 4Gb) (base 64 string)} -constraints image create photo gif1 -data $data } -cleanup { catch {image delete gif1} -} -returnCodes error -result {not enough free memory for image buffer} +} -returnCodes error -result {error reading color map|not enough free memory for image buffer} -match regexp test imgPhoto-18.9 {Reject corrupted GIF (> 4Gb) (file)} -constraints { SegfaultOn8.5 } -setup { @@ -845,7 +845,7 @@ test imgPhoto-18.9 {Reject corrupted GIF (> 4Gb) (file)} -constraints { image create photo gif1 -file $fileName } -cleanup { catch {image delete gif1} -} -returnCodes error -result {not enough free memory for image buffer} +} -returnCodes error -result {error reading color map|not enough free memory for image buffer} -match regexp test imgPhoto-18.10 {Valid GIF (binary string)} -constraints { base64PackageNeeded } -setup { |