Add OM System MakerNote test

(manually adapted from 18e2b9a6bb305854bfe05d0275425ad3699ea757)
This commit is contained in:
Miloš Komarčević
2022-03-30 11:16:44 +02:00
parent 8fa30d66b4
commit 44c3aab2dc
3 changed files with 213 additions and 0 deletions
Binary file not shown.
File diff suppressed because one or more lines are too long
+15
View File
@@ -0,0 +1,15 @@
from system_tests import CaseMeta, path
class OMSystemMakerNote(metaclass=CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/issues/2126
"""
url = "https://github.com/Exiv2/exiv2/issues/2126"
filename = path("$data_path/test_issue_2126.exv")
commands = ["$exiv2 -q -K Exif.Olympus2.CameraID $filename"]
stdout = ["""Exif.Olympus2.CameraID Undefined 32 OM SYSTEM CAMERA
"""]
stderr = [""]
retval = [0]