summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkjnash <k.j.nash@usa.net>2017-06-12 12:29:23 (GMT)
committerkjnash <k.j.nash@usa.net>2017-06-12 12:29:23 (GMT)
commit49732842616efcab8d155e02ddb57be2ce3d8fb1 (patch)
tree3bb9c9efbf9adc523eb60dff76daf11b66894706
parent5f2a095a7ddf51be28dc664cd98c707241890b16 (diff)
downloadtk-49732842616efcab8d155e02ddb57be2ce3d8fb1.zip
tk-49732842616efcab8d155e02ddb57be2ce3d8fb1.tar.gz
tk-49732842616efcab8d155e02ddb57be2ce3d8fb1.tar.bz2
Revised tests/imgPhoto.test - this bugfix branch forked from core-8-5-branch is ready for testing
-rw-r--r--tests/imgPhoto.test12
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 {