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.
20 lines
483 B
Python
20 lines
483 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import system_tests
|
|
|
|
|
|
class TestFirstPoC(metaclass=system_tests.CaseMeta):
|
|
"""
|
|
Regression test for the first bug described in:
|
|
https://github.com/Exiv2/exiv2/issues/253
|
|
"""
|
|
url = "https://github.com/Exiv2/exiv2/issues/253"
|
|
|
|
filename = "$data_path/3-stringformat-outofbound-read"
|
|
commands = ["$exiv2 " + filename]
|
|
stdout = [""]
|
|
stderr = ["""$exiv2_exception_message """ + filename + """:
|
|
$kerNotAJpeg
|
|
"""]
|
|
retval = [1]
|