forked from Exiv2/exiv2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3742760
commit 76d1c71
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
import unittest | ||
import system_tests | ||
from system_tests import CaseMeta, path, check_no_ASAN_UBSAN_errors | ||
|
||
# Check that `exiv2 -pr` works for different file types. | ||
# ExifTool has a list of markers that appear in the headers: | ||
# https://exiftool.org/makernote_types.html | ||
|
||
@unittest.skip("Skipping test using option -pR (only for Debug mode)") | ||
class exiv2pRHeaderTest(metaclass=CaseMeta): | ||
|
||
url = "https://github.com/Exiv2/exiv2/issues/1805" | ||
|
||
filename = system_tests.path("$data_path/exiv2-SonyDSC-HX60V.exv") # Uses marker: "SONY DSC " | ||
commands = ["$exiv2 -pR " + filename] | ||
|
||
stderr = [""] | ||
retval = [0] | ||
|
||
compare_stdout = check_no_ASAN_UBSAN_errors |