Fix more issues in PngChunk::readRawProfile

This commit is contained in:
Luis Díaz Más
2018-09-03 08:51:08 +02:00
parent 847da051c0
commit f5b40f3e82
4 changed files with 25 additions and 19 deletions
+5 -3
View File
@@ -9,15 +9,17 @@ class PngReadRawProfile(metaclass=system_tests.CaseMeta):
filenames = [
system_tests.path("$data_path/issue_428_poc1.png"),
system_tests.path("$data_path/issue_428_poc2.png")
system_tests.path("$data_path/issue_428_poc2.png"),
system_tests.path("$data_path/issue_428_poc3.png"),
system_tests.path("$data_path/issue_428_poc4.png"),
]
commands = ["$exiv2 " + fname for fname in filenames]
stdout = [""] * 2
stdout = [""] * len(filenames)
stderr = [
"""$exiv2_exception_message """ + fname + """:
$kerFailedToReadImageData
"""
for fname in filenames
]
retval = [1] * 2
retval = [1] * len(filenames)