You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
609 B
Python
22 lines
609 B
Python
7 years ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
import system_tests
|
||
|
|
||
|
class CheckOptionK(metaclass=system_tests.CaseMeta):
|
||
|
|
||
|
url = "http://dev.exiv2.org/issues/1053"
|
||
|
|
||
|
filename = system_tests.path("$data_path/exiv2-bug884c.jpg")
|
||
|
commands = [ "$exiv2 -PE -g ImageWidth $filename",
|
||
|
"$exiv2 -PE -K ImageWidth $filename",
|
||
|
"$exiv2 -PE -K Exif.Image.ImageWidth $filename" ]
|
||
|
|
||
|
stdout = [ """Exif.Image.ImageWidth Long 1 3040
|
||
|
""",
|
||
|
"",
|
||
|
"""Exif.Image.ImageWidth Long 1 3040
|
||
|
""",
|
||
|
]
|
||
|
stderr = [""] * 3
|
||
|
retval = [0, 1, 0]
|