Add test case for #2542
(cherry picked from commit aa1001309897e9b6870c136e30c186951b699080)
This commit is contained in:
parent
2df5b59c9f
commit
c44eaa7064
BIN
test/data/poc_2542.exv
Normal file
BIN
test/data/poc_2542.exv
Normal file
Binary file not shown.
15
tests/bugfixes/github/test_issue_2542.py
Normal file
15
tests/bugfixes/github/test_issue_2542.py
Normal file
@ -0,0 +1,15 @@
|
||||
from system_tests import CaseMeta, path
|
||||
|
||||
class OMSystemMakerNoteAlias(metaclass=CaseMeta):
|
||||
"""
|
||||
Regression test for the bug described in:
|
||||
https://github.com/Exiv2/exiv2/issues/2542
|
||||
"""
|
||||
url = "https://github.com/Exiv2/exiv2/issues/2542"
|
||||
|
||||
filename = path("$data_path/poc_2542.exv")
|
||||
commands = ["$exiv2 -q -K Exif.Olympus2.CameraID $filename"]
|
||||
stdout = ["""Exif.Olympus2.CameraID Undefined 32 OLYMPUS DIGITAL CAMERA
|
||||
"""]
|
||||
stderr = [""]
|
||||
retval = [0]
|
||||
Loading…
Reference in New Issue
Block a user