Add test case for #2542
(cherry picked from commit aa1001309897e9b6870c136e30c186951b699080)
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,15 @@
|
||||
from system_tests import CaseMeta, path
|
||||
|
||||
class OMSystemMakerNoteAlias(metaclass=CaseMeta):
|
||||
"""
|
||||
Regression test for the bug described in:
|
||||
https://github.com/Exiv2/exiv2/issues/2542
|
||||
"""
|
||||
url = "https://github.com/Exiv2/exiv2/issues/2542"
|
||||
|
||||
filename = path("$data_path/poc_2542.exv")
|
||||
commands = ["$exiv2 -q -K Exif.Olympus2.CameraID $filename"]
|
||||
stdout = ["""Exif.Olympus2.CameraID Undefined 32 OLYMPUS DIGITAL CAMERA
|
||||
"""]
|
||||
stderr = [""]
|
||||
retval = [0]
|
||||
Reference in New Issue
Block a user