Skip to content

Commit

Permalink
Add OM System MakerNote test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilos committed Mar 28, 2022
1 parent 9164369 commit 18e2b9a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Binary file added test/data/test_issue_2126.exv
Binary file not shown.
15 changes: 15 additions & 0 deletions tests/bugfixes/github/test_issue_2126.py
Original file line number Diff line number Diff line change
@@ -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]

0 comments on commit 18e2b9a

Please sign in to comment.