Skip to content

Commit 18e2b9a

Browse files
committed
Add OM System MakerNote test
1 parent 9164369 commit 18e2b9a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

test/data/test_issue_2126.exv

21.8 KB
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from system_tests import CaseMeta, path
2+
3+
class OMSystemMakerNote(metaclass=CaseMeta):
4+
"""
5+
Regression test for the bug described in:
6+
https://github.com/Exiv2/exiv2/issues/2126
7+
"""
8+
url = "https://github.com/Exiv2/exiv2/issues/2126"
9+
10+
filename = path("$data_path/test_issue_2126.exv")
11+
commands = ["$exiv2 -q -K Exif.Olympus2.CameraID $filename"]
12+
stdout = ["""Exif.Olympus2.CameraID Undefined 32 OM SYSTEM CAMERA
13+
"""]
14+
stderr = [""]
15+
retval = [0]

0 commit comments

Comments
 (0)