Regression test for https://github.com/Exiv2/exiv2/issues/1530
parent
0a91b56616
commit
c92ac88cb0
Binary file not shown.
Binary file not shown.
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from system_tests import CaseMeta, path
|
||||
|
||||
|
||||
class MrmImageLargeAllocation(metaclass=CaseMeta):
|
||||
"""
|
||||
Regression test for the bug described in:
|
||||
https://github.com/Exiv2/exiv2/pull/943
|
||||
"""
|
||||
url = "https://github.com/Exiv2/exiv2/issues/1530"
|
||||
|
||||
filename1 = path("$data_path/issue_1530_poc.crw")
|
||||
filename2 = path("$data_path/issue_1530_poc.exv")
|
||||
commands = ["$exiv2 in $filename1 $filename2"]
|
||||
stdout = [""]
|
||||
stderr = [
|
||||
"""$filename1: Could not write metadata to file: corrupted image metadata
|
||||
"""]
|
||||
retval = [1]
|
Loading…
Reference in New Issue