fix743_NikonSigmaArtLens
This commit is contained in:
@@ -2506,6 +2506,9 @@ fmountlens[] = {
|
||||
{0x00,0x40,0x11,0x11,0x2C,0x2C,0x00,0x00,0x00,0x00,0x00, "Samyang", "", "8mm f/3.5 Fish-Eye"},
|
||||
{0x00,0x58,0x64,0x64,0x20,0x20,0x00,0x00,0x00,0x00,0x00, "Soligor", "", "C/D Macro MC 90mm f/2.5"},
|
||||
//
|
||||
// https://github.com/Exiv2/exiv2/issues/743
|
||||
{0xc9,0x48,0x37,0x5c,0x24,0x24,0x4b,0x4e,0x01,0x00,0x00, "Sigma", "", "24-70mm F2,8 DG OS HSM Art"},
|
||||
//
|
||||
{0,0,0,0,0,0,0,0,0,0,0, NULL, NULL, NULL}
|
||||
};
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from system_tests import CaseMeta, path
|
||||
|
||||
class Issue743NikonSigmaArtLens(metaclass=CaseMeta):
|
||||
"""
|
||||
Regression test for the bug described in:
|
||||
https://github.com/Exiv2/exiv2/issues/743
|
||||
"""
|
||||
url = "https://github.com/Exiv2/exiv2/issues/743"
|
||||
|
||||
filename = path("$data_path/issue_743.exv")
|
||||
commands = ["$exiv2 -pa --grep lensid/i $filename"]
|
||||
stderr = [""]
|
||||
stdout = [""
|
||||
"""Exif.NikonLd3.LensIDNumber Byte 1 Sigma 24-70mm F2,8 DG OS HSM Art
|
||||
"""
|
||||
]
|
||||
retval = [0]
|
||||
Reference in New Issue
Block a user