Skip to content

Commit 208038d

Browse files
authored
Merge pull request #1442 from Exiv2/test_PR1437
Test pr1437
2 parents 8df28c1 + 7f138ef commit 208038d

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

test/data/CH0_0174.exv

21 KB
Binary file not shown.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# -*- coding: utf-8 -*-
2+
3+
import system_tests
4+
5+
class Nikon_LensData8(metaclass=system_tests.CaseMeta):
6+
url = "https://github.com/Exiv2/exiv2/pull/1437"
7+
filename = "$data_path/CH0_0174.exv"
8+
commands = ["$exiv2 -g lens/i -g aperture/i $filename"]
9+
stderr = [""]
10+
stdout = ["""Exif.Nikon3.LensType Byte 1 D G VR
11+
Exif.Nikon3.Lens Rational 4 70-200mm F2.8
12+
Exif.Nikon3.LensFStops Undefined 4 6
13+
Exif.NikonLd4.AFAperture Byte 1 F2.8
14+
Exif.NikonLd4.LensIDNumber Byte 1 Nikon AF-S VR Zoom-Nikkor 70-200mm f/2.8G IF-ED
15+
Exif.NikonLd4.LensFStops Byte 1 F6.0
16+
Exif.NikonLd4.MaxApertureAtMinFocal Byte 1 F2.8
17+
Exif.NikonLd4.MaxApertureAtMaxFocal Byte 1 F2.8
18+
Exif.NikonLd4.EffectiveMaxAperture Byte 1 F2.8
19+
Exif.NikonLd4.LensID Short 1 0
20+
Exif.NikonLd4.MaxAperture Short 1 F0.5
21+
Exif.Photo.LensSpecification Rational 4 700/10 2000/10 280/100 280/100
22+
Exif.Photo.LensMake Ascii 6
23+
Exif.Photo.LensModel Ascii 65
24+
Exif.Photo.LensSerialNumber Ascii 11
25+
"""]
26+
retval = [0]

0 commit comments

Comments
 (0)