Skip to content

Commit

Permalink
Add OM System MakerNote test
Browse files Browse the repository at this point in the history
(manually adapted from 18e2b9a)
  • Loading branch information
kmilos committed Mar 30, 2022
1 parent a84463b commit b515d3b
Show file tree
Hide file tree
Showing 3 changed files with 213 additions and 0 deletions.
Binary file added test/data/test_issue_2126.exv
Binary file not shown.
198 changes: 198 additions & 0 deletions test/data/test_reference_files/test_issue_2126.exv.out

Large diffs are not rendered by default.

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 b515d3b

Please sign in to comment.