exiv2/tests/bugfixes/github/test_issue_2542.py
Miloš Komarčević c44eaa7064 Add test case for #2542
(cherry picked from commit aa1001309897e9b6870c136e30c186951b699080)
2023-04-17 14:36:00 +02:00

16 lines
517 B
Python

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]