File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+
3
+ import unittest
4
+ import system_tests
5
+ from system_tests import CaseMeta , path , check_no_ASAN_UBSAN_errors
6
+
7
+ # Check that `exiv2 -pr` works for different file types.
8
+ # ExifTool has a list of markers that appear in the headers:
9
+ # https://exiftool.org/makernote_types.html
10
+
11
+ @unittest .skip ("Skipping test using option -pR (only for Debug mode)" )
12
+ class exiv2pRHeaderTest (metaclass = CaseMeta ):
13
+
14
+ url = "https://github.com/Exiv2/exiv2/issues/1805"
15
+
16
+ filename = system_tests .path ("$data_path/exiv2-SonyDSC-HX60V.exv" ) # Uses marker: "SONY DSC "
17
+ commands = ["$exiv2 -pR " + filename ]
18
+
19
+ stderr = ["" ]
20
+ retval = [0 ]
21
+
22
+ compare_stdout = check_no_ASAN_UBSAN_errors
You can’t perform that action at this time.
0 commit comments