Skip to content

Commit 44c3aab

Browse files
committed
Add OM System MakerNote test
(manually adapted from 18e2b9a)
1 parent 8fa30d6 commit 44c3aab

File tree

3 files changed

+213
-0
lines changed

3 files changed

+213
-0
lines changed

test/data/test_issue_2126.exv

21.8 KB
Binary file not shown.

test/data/test_reference_files/test_issue_2126.exv.out

Lines changed: 198 additions & 0 deletions
Large diffs are not rendered by default.
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)