Add reproducer for #460

This commit is contained in:
Luis Díaz Más
2018-10-13 11:31:56 +02:00
parent 670fb73dd5
commit 274b65a671
2 changed files with 14 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
import system_tests
class ThrowsWhenCRWImageIsMalformed(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/460"
filename = system_tests.path("$data_path/issue_460")
commands = ["$exiv2 " + filename]
retval = [1]
stderr = ["""$exiv2_exception_message """ + filename + """:
$kerCorruptedMetadata
"""]