Fix more issues in PngChunk::readRawProfile
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user