Add regression test for #511
This commit is contained in:
committed by
Luis Díaz Más
parent
ae49250942
commit
b07c480a0a
@@ -0,0 +1,16 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import system_tests
|
||||
|
||||
|
||||
class ThrowsWhenIFDsAreMalformed(metaclass=system_tests.CaseMeta):
|
||||
url = "https://github.com/Exiv2/exiv2/issues/511"
|
||||
|
||||
filename = system_tests.path("$data_path/pocIssue511")
|
||||
commands = ["$exiv2 -pR " + filename]
|
||||
retval = [1]
|
||||
stdout = ["""STRUCTURE OF TIFF FILE (II): """ + filename + """
|
||||
"""]
|
||||
stderr = ["""$exiv2_exception_message """ + filename + """:
|
||||
$kerCorruptedMetadata
|
||||
"""]
|
||||
Reference in New Issue
Block a user