You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
690 B
Python
26 lines
690 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import system_tests
|
|
|
|
|
|
class PngReadRawProfile(metaclass=system_tests.CaseMeta):
|
|
|
|
url = "https://github.com/Exiv2/exiv2/issues/428"
|
|
|
|
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_poc3.png"),
|
|
system_tests.path("$data_path/issue_428_poc4.png"),
|
|
]
|
|
|
|
commands = ["$exiv2 " + fname for fname in filenames]
|
|
stdout = [""] * len(filenames)
|
|
stderr = [
|
|
"""$exiv2_exception_message """ + fname + """:
|
|
$kerFailedToReadImageData
|
|
"""
|
|
for fname in filenames
|
|
]
|
|
retval = [1] * len(filenames)
|