add test case

(cherry picked from commit 4329dfcc177e020eef39fdfc0909187e9470b6b9)
This commit is contained in:
sat3ll 2019-08-26 20:49:15 +01:00 committed by Dan Čermák
parent d59d929eb2
commit aef107a9ca
No known key found for this signature in database
GPG Key ID: E632C3380610D1C5
2 changed files with 15 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
import system_tests
class NikonSigmaLens_APO_MACRO_180_F35_EX_DG(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/pull/992"
filename = "$data_path/Sigma_APO_MACRO_180_F3.5_EX_DG.exv"
commands = ["$exiv2 -pa --grep lensid/i $filename"]
stderr = [""]
stdout = [""
"""Exif.NikonLd3.LensIDNumber Byte 1 Sigma APO MACRO 180mm F3.5 EX DG
"""
]
retval = [0]