Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for issue 755 #930

Open
wants to merge 1 commit into
base: old-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added test/data/issue_755.RAF
Binary file not shown.
37 changes: 37 additions & 0 deletions tests/bugfixes/github/test_issue_755.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# -*- coding: utf-8 -*-

import system_tests

class RAFPixelWidthAndHeight(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/755"

commands = ["$exiv2 $data_path/issue_755.RAF"]
stdout = [
"""File name : $data_path/issue_755.RAF
File size : 6850400 Bytes
MIME type : image/x-fuji-raf
Image size : 1472 x 2160
Camera make : FUJIFILM
Camera model : FinePix S5000
Image timestamp : 2008:06:22 03:48:05
Image number :
Exposure time : 1/280 s
Aperture : F2.8
Exposure bias : 0 EV
Flash : No, compulsory
Flash bias :
Focal length : 5.7 mm
Subject distance:
ISO speed : 200
Exposure mode : Auto
Metering mode : Multi-segment
Macro mode : Off
Image quality : NORMAL
Exif Resolution : 1280 x 960
White balance : Auto
Thumbnail : image/jpeg, 8582 Bytes
Copyright :
Exif comment : \n\n"""
]
stderr = [""]
retval = [0]