Hi, checkit_tiff is one of package in Debian, this package is team maintain by
Debian PhotoTools Team. When I package the newest version 1.8.0, I meet the error on make test. Test project /home/atzlinux/tmp/checkit_tiff/build Connected to MAKE jobserver Start 1: 01_test_stack 1/5 Test #1: 01_test_stack .................... Passed 0.00 sec Start 2: 01_grammar 2/5 Test #2: 01_grammar ....................... Passed 0.37 sec Start 3: 02_config 3/5 Test #3: 02_config ........................ Passed 0.11 sec Start 4: 03_validfiles 4/5 Test #4: 03_validfiles ....................***Failed 0.14 sec Start 5: 03_invalidfiles 5/5 Test #5: 03_invalidfiles .................. Passed 0.21 sec 80% tests passed, 1 tests failed out of 5 Total Test time (real) = 0.84 sec The following tests FAILED: 4 - 03_validfiles (Failed) Errors while running CTest Output from these tests are in: /home/atzlinux/tmp/checkit_tiff/build/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. The error log LastTest.log is attached in this mail. This issue perhaps is cause by change to uses the POSIX regex on new version. Please help to debug it. Thanks! -- 肖盛文 xiao sheng wen -- Debian Developer(atzlinux) Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40debian.org Debian salsa: https://salsa.debian.org/atzlinux-guest GnuPG Public Key: 0x00186602339240CB
Start testing: Oct 18 09:50 CST
----------------------------------------------------------
1/5 Testing: 01_test_stack
1/5 Test: 01_test_stack
Command: "/home/atzlinux/tmp/checkit_tiff/build/test_stack"
Directory: /home/atzlinux/tmp/checkit_tiff/src/../t
"01_test_stack" start time: Oct 18 09:50 CST
Output:
----------------------------------------------------------
################################################
stack (firstidx=10, lastidx=9, capacity=32, type=int):
------------------------------------
empty stack (type=int)
------------------------------------
################################################
################################################
stack (firstidx=10, lastidx=10, capacity=32, type=int):
------------------------------------
Stackpos: 31, Value: 0
Stackpos: 30, Value: 0
Stackpos: 29, Value: 0
Stackpos: 28, Value: 0
Stackpos: 27, Value: 0
Stackpos: 26, Value: 0
Stackpos: 25, Value: 0
Stackpos: 24, Value: 0
Stackpos: 23, Value: 0
Stackpos: 22, Value: 0
Stackpos: 21, Value: 0
Stackpos: 20, Value: 0
Stackpos: 19, Value: 0
Stackpos: 18, Value: 0
Stackpos: 17, Value: 0
Stackpos: 16, Value: 0
Stackpos: 15, Value: 0
Stackpos: 14, Value: 0
Stackpos: 13, Value: 0
Stackpos: 12, Value: 0
Stackpos: 11, Value: 0
first --->Stackpos: 10, Value: 1
Stackpos: 9, Value: 0
Stackpos: 8, Value: 0
Stackpos: 7, Value: 0
Stackpos: 6, Value: 0
Stackpos: 5, Value: 0
Stackpos: 4, Value: 0
Stackpos: 3, Value: 0
Stackpos: 2, Value: 0
Stackpos: 1, Value: 0
Stackpos: 0, Value: 0
------------------------------------
################################################
################################################
stack (firstidx=10, lastidx=11, capacity=32, type=int):
------------------------------------
Stackpos: 31, Value: 0
Stackpos: 30, Value: 0
Stackpos: 29, Value: 0
Stackpos: 28, Value: 0
Stackpos: 27, Value: 0
Stackpos: 26, Value: 0
Stackpos: 25, Value: 0
Stackpos: 24, Value: 0
Stackpos: 23, Value: 0
Stackpos: 22, Value: 0
Stackpos: 21, Value: 0
Stackpos: 20, Value: 0
Stackpos: 19, Value: 0
Stackpos: 18, Value: 0
Stackpos: 17, Value: 0
Stackpos: 16, Value: 0
Stackpos: 15, Value: 0
Stackpos: 14, Value: 0
Stackpos: 13, Value: 0
Stackpos: 12, Value: 0
last --->Stackpos: 11, Value: 2
first --->Stackpos: 10, Value: 1
Stackpos: 9, Value: 0
Stackpos: 8, Value: 0
Stackpos: 7, Value: 0
Stackpos: 6, Value: 0
Stackpos: 5, Value: 0
Stackpos: 4, Value: 0
Stackpos: 3, Value: 0
Stackpos: 2, Value: 0
Stackpos: 1, Value: 0
Stackpos: 0, Value: 0
------------------------------------
################################################
################################################
stack (firstidx=10, lastidx=10, capacity=32, type=int):
------------------------------------
Stackpos: 31, Value: 0
Stackpos: 30, Value: 0
Stackpos: 29, Value: 0
Stackpos: 28, Value: 0
Stackpos: 27, Value: 0
Stackpos: 26, Value: 0
Stackpos: 25, Value: 0
Stackpos: 24, Value: 0
Stackpos: 23, Value: 0
Stackpos: 22, Value: 0
Stackpos: 21, Value: 0
Stackpos: 20, Value: 0
Stackpos: 19, Value: 0
Stackpos: 18, Value: 0
Stackpos: 17, Value: 0
Stackpos: 16, Value: 0
Stackpos: 15, Value: 0
Stackpos: 14, Value: 0
Stackpos: 13, Value: 0
Stackpos: 12, Value: 0
Stackpos: 11, Value: 2
first --->Stackpos: 10, Value: 1
Stackpos: 9, Value: 0
Stackpos: 8, Value: 0
Stackpos: 7, Value: 0
Stackpos: 6, Value: 0
Stackpos: 5, Value: 0
Stackpos: 4, Value: 0
Stackpos: 3, Value: 0
Stackpos: 2, Value: 0
Stackpos: 1, Value: 0
Stackpos: 0, Value: 0
------------------------------------
################################################
################################################
stack (firstidx=9, lastidx=10, capacity=32, type=int):
------------------------------------
Stackpos: 31, Value: 0
Stackpos: 30, Value: 0
Stackpos: 29, Value: 0
Stackpos: 28, Value: 0
Stackpos: 27, Value: 0
Stackpos: 26, Value: 0
Stackpos: 25, Value: 0
Stackpos: 24, Value: 0
Stackpos: 23, Value: 0
Stackpos: 22, Value: 0
Stackpos: 21, Value: 0
Stackpos: 20, Value: 0
Stackpos: 19, Value: 0
Stackpos: 18, Value: 0
Stackpos: 17, Value: 0
Stackpos: 16, Value: 0
Stackpos: 15, Value: 0
Stackpos: 14, Value: 0
Stackpos: 13, Value: 0
Stackpos: 12, Value: 0
Stackpos: 11, Value: 2
last --->Stackpos: 10, Value: 1
first --->Stackpos: 9, Value: 2
Stackpos: 8, Value: 0
Stackpos: 7, Value: 0
Stackpos: 6, Value: 0
Stackpos: 5, Value: 0
Stackpos: 4, Value: 0
Stackpos: 3, Value: 0
Stackpos: 2, Value: 0
Stackpos: 1, Value: 0
Stackpos: 0, Value: 0
------------------------------------
################################################
################################################
stack (firstidx=9, lastidx=10, capacity=32, type=int):
------------------------------------
Stackpos: 31, Value: 0
Stackpos: 30, Value: 0
Stackpos: 29, Value: 0
Stackpos: 28, Value: 0
Stackpos: 27, Value: 0
Stackpos: 26, Value: 0
Stackpos: 25, Value: 0
Stackpos: 24, Value: 0
Stackpos: 23, Value: 0
Stackpos: 22, Value: 0
Stackpos: 21, Value: 0
Stackpos: 20, Value: 0
Stackpos: 19, Value: 0
Stackpos: 18, Value: 0
Stackpos: 17, Value: 0
Stackpos: 16, Value: 0
Stackpos: 15, Value: 0
Stackpos: 14, Value: 0
Stackpos: 13, Value: 0
Stackpos: 12, Value: 0
Stackpos: 11, Value: 2
last --->Stackpos: 10, Value: 1
first --->Stackpos: 9, Value: 2
Stackpos: 8, Value: 0
Stackpos: 7, Value: 0
Stackpos: 6, Value: 0
Stackpos: 5, Value: 0
Stackpos: 4, Value: 0
Stackpos: 3, Value: 0
Stackpos: 2, Value: 0
Stackpos: 1, Value: 0
Stackpos: 0, Value: 0
------------------------------------
################################################
################################################
stack (firstidx=3, lastidx=26, capacity=32, type=int):
------------------------------------
Stackpos: 31, Value: 0
Stackpos: 30, Value: 0
Stackpos: 29, Value: 0
Stackpos: 28, Value: 0
Stackpos: 27, Value: 0
last --->Stackpos: 26, Value: 1
Stackpos: 25, Value: 2
Stackpos: 24, Value: 20
Stackpos: 23, Value: 21
Stackpos: 22, Value: 22
Stackpos: 21, Value: 23
Stackpos: 20, Value: 24
Stackpos: 19, Value: 25
Stackpos: 18, Value: 26
Stackpos: 17, Value: 27
Stackpos: 16, Value: 28
Stackpos: 15, Value: 29
Stackpos: 14, Value: 30
Stackpos: 13, Value: 31
Stackpos: 12, Value: 32
Stackpos: 11, Value: 33
Stackpos: 10, Value: 34
Stackpos: 9, Value: 35
Stackpos: 8, Value: 36
Stackpos: 7, Value: 37
Stackpos: 6, Value: 38
Stackpos: 5, Value: 39
Stackpos: 4, Value: 40
first --->Stackpos: 3, Value: 41
Stackpos: 2, Value: 35
Stackpos: 1, Value: 36
Stackpos: 0, Value: 37
------------------------------------
################################################
################################################
stack (firstidx=3, lastidx=26, capacity=32, type=int):
------------------------------------
Stackpos: 31, Value: 0
Stackpos: 30, Value: 0
Stackpos: 29, Value: 0
Stackpos: 28, Value: 0
Stackpos: 27, Value: 0
last --->Stackpos: 26, Value: 1
Stackpos: 25, Value: 2
Stackpos: 24, Value: 20
Stackpos: 23, Value: 21
Stackpos: 22, Value: 22
Stackpos: 21, Value: 23
Stackpos: 20, Value: 24
Stackpos: 19, Value: 25
Stackpos: 18, Value: 26
Stackpos: 17, Value: 27
Stackpos: 16, Value: 28
Stackpos: 15, Value: 29
Stackpos: 14, Value: 30
Stackpos: 13, Value: 31
Stackpos: 12, Value: 32
Stackpos: 11, Value: 33
Stackpos: 10, Value: 34
Stackpos: 9, Value: 35
Stackpos: 8, Value: 36
Stackpos: 7, Value: 37
Stackpos: 6, Value: 38
Stackpos: 5, Value: 39
Stackpos: 4, Value: 40
first --->Stackpos: 3, Value: 41
Stackpos: 2, Value: 35
Stackpos: 1, Value: 36
Stackpos: 0, Value: 37
------------------------------------
################################################
<end of output>
Test time = 0.00 sec
----------------------------------------------------------
Test Passed.
"01_test_stack" end time: Oct 18 09:50 CST
"01_test_stack" time elapsed: 00:00:00
----------------------------------------------------------
2/5 Testing: 01_grammar
2/5 Test: 01_grammar
Command: "/usr/bin/perl" "-I" "/home/atzlinux/tmp/checkit_tiff/src/../t" "01_test_grammar.t"
Directory: /home/atzlinux/tmp/checkit_tiff/src/../t
"01_grammar" start time: Oct 18 09:50 CST
Output:
----------------------------------------------------------
1..181
ok 1 - empty grammar
ok 2 - single comment (1)
ok 3 - single comment (2)
ok 4 - empty grammar with newline only
ok 5 - empty comment with newline
ok 6 - double comment
ok 7 - mode(baseline)
ok 8 - mode(enable_type_checks)
ok 9 - mode(enable_offset_checks)
ok 10 - mode(enable_ifd_checks)
ok 11 - simple tag mandatory any
wrong tag (should be >253) at line 1 (error at '0')
ok 12 - simple non-tag mandatory any
ok 13 - simple 65535 mandatory any
ok 14 - simple 2^8 mandatory any
ok 15 - simple tag mandatory any
ok 16 - simple tag mandatory only(1)
ok 17 - simple tag mandatory ntupel(1,1,1)
ok 18 - simple tag mandatory regex("string")
ok 19 - simple tag mandatory regex("^string")
ok 20 - simple tag mandatory regex("string$")
ok 21 - simple tag mandatory regex("^string$")
ok 22 - simple tag mandatory regex("s*")
ok 23 - simple tag mandatory regex("s?")
ok 24 - simple tag mandatory regex("s+")
ok 25 - simple tag mandatory regex("[A-Z]")
ok 26 - simple tag mandatory regex("[^A-Z]")
ok 27 - simple tag mandatory range(1,100)
ok 28 - simple tag mandatory range(100,1)
ok 29 - simple tag mandatory logical_or(100,1)
ok 30 - simple tag mandatory logical_or(1,100)
ok 31 - simple tag mandatory logical_or(only(100),only(1))
ok 32 - simple tag mandatory logical_or(only(1),only(100))
ok 33 - simple tag mandatory logical_or(ntupel(1,1,1),1)
ok 34 - simple tag mandatory logical_or(ntupel(1,1,1),1,regex("string"))
ok 35 - simple tag mandatory logical_or(ntupel(8,8,8),ntupel(16,16,16))
ok 36 - simple tag mandatory printascii
ok 37 - simple tag mandatory datetime
ok 38 - simple tag mandatory iccprofile
ok 39 - simple tag optional any
wrong tag (should be >253) at line 1 (error at '0')
ok 40 - simple non-tag optional any
ok 41 - simple tag optional any
ok 42 - simple tag optional only(1)
ok 43 - simple tag optional ntupel(1,1,1)
ok 44 - simple tag optional regex("string")
ok 45 - simple tag optional range(1,100)
ok 46 - simple tag optional range(100,1)
ok 47 - simple tag optional logical_or(100,1)
ok 48 - simple tag optional logical_or(1,100)
ok 49 - simple tag optional logical_or(only(100,1))
ok 50 - simple tag optional logical_or(only(1,100))
ok 51 - simple tag optional printascii
ok 52 - simple tag optional datetime
ok 53 - simple tag optional iccprofile
ok 54 - simple tag depends(255.1) any
wrong tag (should be >253) at line 1 (error at '0')
ok 55 - simple non-tag depends(255.1) any
ok 56 - simple tag depends(255.1) any
ok 57 - simple tag depends(255.1) only(1)
ok 58 - simple tag depends(255.1) ntupel(1,1,1)
ok 59 - simple tag depends(255.1) regex("string")
ok 60 - simple tag depends(255.1) range(1,100)
ok 61 - simple tag depends(255.1) range(100,1)
ok 62 - simple tag depends(255.1) logical_or(100,1)
ok 63 - simple tag depends(255.1) logical_or(1,100)
ok 64 - simple tag depends(255.regex("test")) any
wrong tag (should be >253) at line 1 (error at '0')
ok 65 - simple non-tag depends(255.regex("test")) any
ok 66 - simple tag depends(255.regex("test")) any
ok 67 - simple tag depends(255.regex("test")) only(1)
ok 68 - simple tag depends(255.regex("test")) ntupel(1,1,1)
ok 69 - simple tag depends(255.regex("test")) regex("string")
ok 70 - simple tag depends(255.regex("test")) range(1,100)
ok 71 - simple tag depends(255.regex("test")) range(100,1)
ok 72 - simple tag depends(255.regex("test")) logical_or(100,1)
ok 73 - simple tag depends(255.regex("test")) logical_or(1,100)
ok 74 - simple tag depends(255.any) any
wrong tag (should be >253) at line 1 (error at '0')
ok 75 - simple non-tag depends(255.any) any
ok 76 - simple tag depends(255.any) any
ok 77 - simple tag depends(255.any) only(1)
ok 78 - simple tag depends(255.any) ntupel(1,1,1)
ok 79 - simple tag depends(255.any) regex("string")
ok 80 - simple tag depends(255.any) range(1,100)
ok 81 - simple tag depends(255.any) range(100,1)
ok 82 - simple tag depends(255.any) logical_or(100,1)
ok 83 - simple tag depends(255.any) logical_or(1,100)
ok 84 - simple tag depends(255.range(1,100)) any
wrong tag (should be >253) at line 1 (error at '0')
ok 85 - simple non-tag depends(255.range(1,100)) any
ok 86 - simple tag depends(255.range(1,100)) any
ok 87 - simple tag depends(255.range(1,100)) only(1)
ok 88 - simple tag depends(255.range(1,100)) ntupel(1,1,1)
ok 89 - simple tag depends(255.range(1,100)) regex("string")
ok 90 - simple tag depends(255.range(1,100)) range(1,100)
ok 91 - simple tag depends(255.range(1,100)) range(100,1)
ok 92 - simple tag depends(255.range(1,100)) logical_or(100,1)
ok 93 - simple tag depends(255.range(1,100)) logical_or(1,100)
ok 94 - simple tag depends(255.range(0,1)) any
wrong tag (should be >253) at line 1 (error at '0')
ok 95 - simple non-tag depends(255.range(0,1)) any
ok 96 - simple tag depends(255.range(0,1)) any
ok 97 - simple tag depends(255.range(0,1)) only(1)
ok 98 - simple tag depends(255.range(0,1)) ntupel(1,1,1)
ok 99 - simple tag depends(255.range(0,1)) regex("string")
ok 100 - simple tag depends(255.range(0,1)) range(1,100)
ok 101 - simple tag depends(255.range(0,1)) range(100,1)
ok 102 - simple tag depends(255.range(0,1)) logical_or(100,1)
ok 103 - simple tag depends(255.range(0,1)) logical_or(1,100)
ok 104 - simple tag depends(255.range(0,1)) logical_or(only(100),only(1)))
ok 105 - simple tag depends(255.range(0,1)) logical_or(only(1),only(100)))
ok 106 - simple tag depends(262.2); ntupel(8,8,8)
ok 107 - simple tag optdepends(255.1) any
wrong tag (should be >253) at line 1 (error at '0')
ok 108 - simple non-tag optdepends(255.1) any
ok 109 - simple tag optdepends(255.1) any
ok 110 - simple tag optdepends(255.1) only(1)
ok 111 - simple tag optdepends(255.1) ntupel(1,1,1)
ok 112 - simple tag optdepends(255.1) regex("string")
ok 113 - simple tag optdepends(255.1) range(1,100)
ok 114 - simple tag optdepends(255.1) range(100,1)
ok 115 - simple tag optdepends(255.1) logical_or(100,1)
ok 116 - simple tag optdepends(255.1) logical_or(1,100)
ok 117 - simple tag optdepends(255.regex("test")) any
wrong tag (should be >253) at line 1 (error at '0')
ok 118 - simple non-tag optdepends(255.regex("test")) any
ok 119 - simple tag optdepends(255.regex("test")) any
ok 120 - simple tag optdepends(255.regex("test")) only(1)
ok 121 - simple tag optdepends(255.regex("test")) ntupel(1,1,1)
ok 122 - simple tag optdepends(255.regex("test")) regex("string")
ok 123 - simple tag optdepends(255.regex("test")) range(1,100)
ok 124 - simple tag optdepends(255.regex("test")) range(100,1)
ok 125 - simple tag optdepends(255.regex("test")) logical_or(100,1)
ok 126 - simple tag optdepends(255.regex("test")) logical_or(1,100)
ok 127 - simple tag optdepends(255.any) any
wrong tag (should be >253) at line 1 (error at '0')
ok 128 - simple non-tag optdepends(255.any) any
ok 129 - simple tag optdepends(255.any) any
ok 130 - simple tag optdepends(255.any) only(1)
ok 131 - simple tag optdepends(255.any) ntupel(1,1,1)
ok 132 - simple tag optdepends(255.any) regex("string")
ok 133 - simple tag optdepends(255.any) range(1,100)
ok 134 - simple tag optdepends(255.any) range(100,1)
ok 135 - simple tag optdepends(255.any) logical_or(100,1)
ok 136 - simple tag optdepends(255.any) logical_or(1,100)
ok 137 - simple tag optdepends(255.range(1,100)) any
wrong tag (should be >253) at line 1 (error at '0')
ok 138 - simple non-tag optdepends(255.range(1,100)) any
ok 139 - simple tag optdepends(255.range(1,100)) any
ok 140 - simple tag optdepends(255.range(1,100)) only(1)
ok 141 - simple tag optdepends(255.range(1,100)) ntupel(1,1,1)
ok 142 - simple tag optdepends(255.range(1,100)) regex("string")
ok 143 - simple tag optdepends(255.range(1,100)) range(1,100)
ok 144 - simple tag optdepends(255.range(1,100)) range(100,1)
ok 145 - simple tag optdepends(255.range(1,100)) logical_or(100,1)
ok 146 - simple tag optdepends(255.range(1,100)) logical_or(1,100)
ok 147 - simple tag optdepends(255.range(0,1)) any
wrong tag (should be >253) at line 1 (error at '0')
ok 148 - simple non-tag optdepends(255.range(0,1)) any
ok 149 - simple tag optdepends(255.range(0,1)) any
ok 150 - simple tag optdepends(255.range(0,1)) only(1)
ok 151 - simple tag optdepends(255.range(0,1)) ntupel(1,1,1)
ok 152 - simple tag optdepends(255.range(0,1)) regex("string")
ok 153 - simple tag optdepends(255.range(0,1)) range(1,100)
ok 154 - simple tag optdepends(255.range(0,1)) range(100,1)
ok 155 - simple tag optdepends(255.range(0,1)) logical_or(only(100),only(1)))
ok 156 - simple tag optdepends(255.range(0,1)) logical_or(only(1),only(100)))
ok 157 - include(./testdir/grammar)
ok 158 - simple tag only(2^32)
ok 159 - simple tag only(0x0)
ok 160 - simple tag only(0x0000)
ok 161 - simple tag only(0xffff)
wrong tag (should be >253) at line 1 (error at '0')
ok 162 - simple non-tag (0) mandatory any
wrong tag (should be >253) at line 1 (error at '253')
ok 163 - simple non-tag (253) mandatory any
wrong tag (should be <65536) at line 1 (error at '65536')
ok 164 - simple non-tag (65536) mandatory any
wrong tag (should be <65536) at line 1 (error at '16')
ok 165 - simple non-tag (2^16) mandatory any
wrong tag (should be >253) at line 1 (error at '0x0')
ok 166 - simple non-tag (0x0) mandatory any
wrong tag (should be <65536) at line 1 (error at '0x10000')
ok 167 - simple non-tag (0x10000) mandatory any
ok 168 - parsercheck, simple1
ok 169 - parsercheck, simple2
ok 170 - parsercheck, printascii
ok 171 - parsercheck, hex
ok 172 - parsercheck, exponent
ok 173 - parsercheck, tag exceeded
ok 174 - parsercheck, tag exceeded2
ok 175 - parsercheck, tag exceeded3
ok 176 - parsercheck, depends, logical_or
ok 177 - parsercheck, depends, logical_or2
ok 178 - parsercheck, depends, logical_or3
ok 179 - parsercheck, depends, complex logical_or
ok 180 - parsercheck, modes, depends, logical_or
ok 181 - parsercheck, regression_bug, depends, logical_or
<end of output>
Test time = 0.37 sec
----------------------------------------------------------
Test Passed.
"01_grammar" end time: Oct 18 09:50 CST
"01_grammar" time elapsed: 00:00:00
----------------------------------------------------------
3/5 Testing: 02_config
3/5 Test: 02_config
Command: "/usr/bin/perl" "-I" "/home/atzlinux/tmp/checkit_tiff/src/../t" "02_test_config_examples.t"
Directory: /home/atzlinux/tmp/checkit_tiff/src/../t
"02_config" start time: Oct 18 09:50 CST
Output:
----------------------------------------------------------
1..8
ok 1 - skipped ../example_configs//cit_tiff6_geotiff_SLUB.cfg, because uses includes
ok 2 - call (<../example_configs//cit_tiff_baseline_minimal.cfg)
ok 3 - call (<../example_configs//cit_tiff-a_whitepaper.cfg)
ok 4 - call (<../example_configs//cit_tiff6_baseline_SLUB.cfg)
ok 5 - skipped ../example_configs//cit_tiff6_complete.cfg, because uses includes
ok 6 - call (<../example_configs//cit_tiff_testcase.cfg)
ok 7 - call (<../example_configs//cit_tiff_retrofotos_SLUB.cfg)
ok 8 - call (<../example_configs//cit_tiff_ep.cfg)
<end of output>
Test time = 0.11 sec
----------------------------------------------------------
Test Passed.
"02_config" end time: Oct 18 09:50 CST
"02_config" time elapsed: 00:00:00
----------------------------------------------------------
4/5 Testing: 03_validfiles
4/5 Test: 03_validfiles
Command: "/usr/bin/perl" "-I" "/home/atzlinux/tmp/checkit_tiff/src/../t" "03_test_should_pass.t"
Directory: /home/atzlinux/tmp/checkit_tiff/src/../t
"03_validfiles" start time: Oct 18 09:50 CST
Output:
----------------------------------------------------------
1..13
ok 1 - call (../example_configs/cit_tiff_baseline_minimal.cfg, ../tiffs_should_pass/minimal_valid_baseline.tiff), TIFF6 baseline
ok 2 - call (./testdir//test.cfg1, ../tiffs_should_pass/minimal_valid_baseline.tiff), mandatory any
ok 3 - call (./testdir//test.cfg2, ../tiffs_should_pass/minimal_valid_baseline.tiff), logical first match (20,10)
ok 4 - call (./testdir//test.cfg3, ../tiffs_should_pass/minimal_valid_baseline.tiff), logical last match (10,20)
ok 5 - call (./testdir//test.cfg4, ../tiffs_should_pass/minimal_valid.tiff), regex true
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg5
tiff file/dir=../tiffs_should_pass/minimal_valid.tiff
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_pass/minimal_valid.tiff
(EE) tag 269 (DocumentName) --> Tag should have a value that matches the RegEx, Tag has no Regex match.; found: str='/home/romeyke/fixit_tiff/checkit/tiffs_should_pass/minimal_valid2.tiff�' hex= 2f 68 6f 6d 65 2f 72 6f 6d 65 79 6b 65 2f 66 69 78 69 74 5f 74 69 66 66 2f 63 68 65 63 6b 69 74 2f 74 69 66 66 73 5f 73 68 6f 75 6c 64 5f 70 61 73 73 2f 6d 69 6e 69 6d 61 6c 5f 76 61 6c 69 64 32 2e 74 69 66 66 ---->00<---- (lineno: 8)
Found 15 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 6 - call (./testdir//test.cfg5, ../tiffs_should_pass/minimal_valid.tiff), regex false
ok 7 - call (./testdir//test.cfg6, ../tiffs_should_pass/minimal_valid.tiff), tailored
ok 8 - call (./testdir//test.cfg7, ../tiffs_should_pass/minimal_valid.tiff), tailored w modes
ok 9 - call (./testdir//test.cfg8, ../tiffs_should_pass/minimal_valid_12bit.tiff), tailored w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg9
tiff file/dir=../tiffs_should_pass/minimal_valid_with_icc_v4.3.0.tiff
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_pass/minimal_valid_with_icc_v4.3.0.tiff
(EE) tag 34675 (ICC Profile) --> ICC profile should be valid, ICC profile is invalid if checked with IccProfLib. (lineno: 24)
Found 25 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
not ok 10 - call (./testdir//test.cfg9, ../tiffs_should_pass/minimal_valid_with_icc_v4.3.0.tiff), tailored w modes
# Failed test 'call (./testdir//test.cfg9, ../tiffs_should_pass/minimal_valid_with_icc_v4.3.0.tiff), tailored w modes'
# at 03_test_should_pass.t line 234.
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg9
tiff file/dir=../tiffs_should_pass/minimal_valid_with_icc_v5.0.0.tiff
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_pass/minimal_valid_with_icc_v5.0.0.tiff
(EE) tag 34675 (ICC Profile) --> ICC profile should be valid, ICC profile is invalid if checked with IccProfLib. (lineno: 24)
Found 25 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
not ok 11 - call (./testdir//test.cfg9, ../tiffs_should_pass/minimal_valid_with_icc_v5.0.0.tiff), tailored w modes
# Failed test 'call (./testdir//test.cfg9, ../tiffs_should_pass/minimal_valid_with_icc_v5.0.0.tiff), tailored w modes'
# at 03_test_should_pass.t line 235.
ok 12 - call (./testdir//test.cfg10, ../tiffs_should_pass/bigendian/minimal_valid_baseline_BigEndian.tiff), tailored w modes
ok 13 - call (./testdir//test.cfg11, ../tiffs_should_pass/minimal_valid_baseline.tiff), tailored regression
# Looks like you failed 2 tests of 13.
<end of output>
Test time = 0.14 sec
----------------------------------------------------------
Test Failed.
"03_validfiles" end time: Oct 18 09:50 CST
"03_validfiles" time elapsed: 00:00:00
----------------------------------------------------------
5/5 Testing: 03_invalidfiles
5/5 Test: 03_invalidfiles
Command: "/usr/bin/perl" "-I" "/home/atzlinux/tmp/checkit_tiff/src/../t" "03_test_should_fail.t"
Directory: /home/atzlinux/tmp/checkit_tiff/src/../t
"03_invalidfiles" start time: Oct 18 09:50 CST
Output:
----------------------------------------------------------
1..36
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_without_modes
tiff file/dir=../tiffs_should_fail/invalid_date.tiff
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/invalid_date.tiff
(EE) tag 306 (DateTime) --> DateTime tag should contain a valid value.; expected: date in form 'YYYY:MM:DD hh:mm:ss DateTime tag has wrong format.; found: 04.03.2010 09:59:17 (lineno: 34)
Found 15 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 1 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/invalid_date.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/invalid_date.tiff
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/invalid_date.tiff
(EE) tag 306 (DateTime) --> DateTime tag should contain a valid value.; expected: date in form 'YYYY:MM:DD hh:mm:ss DateTime tag has wrong format.; found: 04.03.2010 09:59:17 (lineno: 39)
Found 24 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 2 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/invalid_date.tif) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg3
tiff file/dir=../tiffs_should_fail/minimal_empty_IFD.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_empty_IFD.tif
(EE) general --> All IFDs should have at least one tag IFD has no tags.; found: base IFD contains zero tags (lineno: 5)
Found 8 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 3 - call (./testdir//test.cfg3, ../tiffs_should_fail/minimal_empty_IFD.tif) w modes
ok 4 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_IFD_not_word_aligned.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_IFD_not_word_aligned.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_IFD_not_word_aligned.tif
(EE) general --> All IFDs should be word aligned, IFD Offset is not word aligned.; found: offset of first ifd points to 0x00000027 and is not word-aligned (lineno: 5)
Found 24 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 5 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_IFD_not_word_aligned.tif) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_without_modes
tiff file/dir=../tiffs_should_fail/minimal_IFD_points_outside_filesize.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_IFD_points_outside_filesize.tif
(HE)TIFF Header ct_read error2, reading ifd count (2 bytes) at file pos=65535 (ffff)
[0;38;5;81m[][m
<-----------
ok 6 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_IFD_points_outside_filesize.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_IFD_points_outside_filesize.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_IFD_points_outside_filesize.tif
(HE)TIFF Header ct_read error2, reading ifd count (2 bytes) at file pos=65535 (ffff)
[0;38;5;81m[][m
<-----------
ok 7 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_IFD_points_outside_filesize.tif) w modes
ok 8 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_IFD_with_endless_loop.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_IFD_with_endless_loop.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_IFD_with_endless_loop.tif
(EE) general --> TIFF should have just one IFD, Multiple IFDs were found.; found: baseline TIFF should have only one IFD, but IFD0 at 0x00000026 has pointer to IFDn 0x00000026 (lineno: 2)
Found 24 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 9 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_IFD_with_endless_loop.tif) w modes
ok 10 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_invalid_type_imagewidth.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_invalid_type_imagewidth.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_invalid_type_imagewidth.tif
(EE) tag 256 (ImageWidth) --> Tag should have a valid and correct type. Unexpected tag type.; found: ASCII (lineno: 8)
Found 25 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 11 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_invalid_type_imagewidth.tif) w modes
ok 12 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_invalid_type_imagewidth.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_invalid_type_imagewidth.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_invalid_type_imagewidth.tif
(EE) tag 256 (ImageWidth) --> Tag should have a valid and correct type. Unexpected tag type.; found: ASCII (lineno: 8)
Found 25 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 13 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_invalid_type_imagewidth.tif) w modes
ok 14 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_offsets_multiple_used.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_offsets_multiple_used.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_offsets_multiple_used.tif
(EE) general --> All offsets may only be used once, Offset was used twice.; found: offset of tag 315 (Artist) points to 0000038c, which address is used previously by tag 269 (DocumentName) (lineno: 4)
Found 25 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 15 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_offsets_multiple_used.tif) w modes
ok 16 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_offsets_not_word_aligned.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_offsets_not_word_aligned.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_offsets_not_word_aligned.tif
(EE) general --> All tag offsets should be word aligned, Tag offset is not word aligned.; found: tag 269 pointing to 0x000000fd and is not word-aligned (lineno: 4)
Found 24 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 17 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_offsets_not_word_aligned.tif) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_without_modes
tiff file/dir=../tiffs_should_fail/minimal_tag_is_doubled.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_tag_is_doubled.tif
(EE) tag 283 (YResolution) --> TIFF should contain this tag. Tag expected.; found: Tag not exist (lineno: 28)
Found 15 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 18 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_tag_is_doubled.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_tag_is_doubled.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_tag_is_doubled.tif
(EE) general --> Tags should be sorted in ascending order, Tags are unsorted.; found: previous tag:282 (XResolution) , actual tag:282 (XResolution) at pos 13 of 16
(lineno: 5)
(EE) tag 283 (YResolution) --> TIFF should contain this tag. Tag expected.; found: Tag not exist (lineno: 33)
(EE) tag 283 (YResolution) --> Tag should have a valid and correct type. Tag expected.; found: Tag not exist (lineno: 33)
Found 23 valid results
Found 3 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 19 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_tag_is_doubled.tif) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_without_modes
tiff file/dir=../tiffs_should_fail/minimal_tag_points_outside_filesize.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_tag_points_outside_filesize.tif
(HE) tag 269 (DocumentName) --> Tag should have a value that matches the RegEx, Couldn't read from TIFF data position (seek operation failed).; found: TIFF Offset ct_read error, try to read from offset count=71 bytes, but EOF detected
(lineno: 18)
Found 6 valid results
Found 10 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 20 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_tag_points_outside_filesize.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_tag_points_outside_filesize.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_tag_points_outside_filesize.tif
(EE) general --> All offset within filesize Tag offset exceeding filesize.; found: tag 269 pointing to 0x000000fc (252) with stream of len 71, exceeding filesize 252 bytes (lineno: 4)
(HE) tag 269 (DocumentName) --> Tag should have a value that matches the RegEx, Couldn't read from TIFF data position (seek operation failed).; found: TIFF Offset ct_read error, try to read from offset count=71 bytes, but EOF detected
(lineno: 23)
Found 14 valid results
Found 11 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 21 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_tag_points_outside_filesize.tif) w modes
ok 22 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_tags_in_wrong_order.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_tags_in_wrong_order.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_tags_in_wrong_order.tif
(EE) general --> Tags should be sorted in ascending order, Tags are unsorted.; found: previous tag:257 (ImageLength) , actual tag:256 (ImageWidth) at pos 2 of 16
(lineno: 5)
Found 24 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 23 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_tags_in_wrong_order.tif) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_without_modes
tiff file/dir=../tiffs_should_fail/minimal_tag_with_contradictory_photometricinterpretation_and_colortag.tiff
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_tag_with_contradictory_photometricinterpretation_and_colortag.tiff
(EE) tag 258 (BitsPerSample) --> One or more conditions needs to be combined in a logical_or operation (open) Internal parser state, combine multiple rules with logical or opened; found: 1 1 (lineno: 7)
(EE) tag 262 (Photometric) --> Tag should have one exact value. Unexpected tag value.; found: 0 (lineno: 16)
Found 17 valid results
Found 2 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 24 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_tag_with_contradictory_photometricinterpretation_and_colortag.tiff)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_tag_with_contradictory_photometricinterpretation_and_colortag.tiff
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_tag_with_contradictory_photometricinterpretation_and_colortag.tiff
(EE) tag 258 (BitsPerSample) --> One or more conditions needs to be combined in a logical_or operation (open) Internal parser state, combine multiple rules with logical or opened; found: 1 1 (lineno: 12)
(EE) tag 262 (Photometric) --> Tag should have one exact value. Unexpected tag value.; found: 0 (lineno: 21)
Found 26 valid results
Found 2 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 25 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_tag_with_contradictory_photometricinterpretation_and_colortag.tiff) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_without_modes
tiff file/dir=../tiffs_should_fail/minimal_tag_with_count_equal_null.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_tag_with_count_equal_null.tif
(EE) tag 269 (DocumentName) --> Tag should have a value that matches the RegEx, Tag value count is zero, but expected to be greater than zero. (lineno: 18)
Found 15 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 26 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_tag_with_count_equal_null.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_tag_with_count_equal_null.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_tag_with_count_equal_null.tif
(EE) tag 269 (DocumentName) --> Tag should have a value that matches the RegEx, Tag value count is zero, but expected to be greater than zero. (lineno: 23)
Found 24 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 27 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_tag_with_count_equal_null.tif) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_without_modes
tiff file/dir=../tiffs_should_fail/minimal_without_IFD.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_without_IFD.tif
(HE)pointer to IFD0 is 0
[0;38;5;81m[][m
<-----------
ok 28 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_without_IFD.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_without_IFD.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_without_IFD.tif
(HE)pointer to IFD0 is 0
[0;38;5;81m[][m
<-----------
ok 29 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_without_IFD.tif) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_without_modes
tiff file/dir=../tiffs_should_fail/minimal_wrong_exififd_type.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_wrong_exififd_type.tif
(EE) tag 34665 (EXIFIFDOffset) --> Tag needs to be whitelisted in configuration.; expected: Tag should not exist. Tag exists and is not whitelisted. (lineno: -1)
Found 15 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 30 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/minimal_wrong_exififd_type.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/minimal_wrong_exififd_type.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/minimal_wrong_exififd_type.tif
(EE) tag 34665 (EXIFIFDOffset) --> Tag needs to be whitelisted in configuration.; expected: Tag should not exist. Tag exists and is not whitelisted. (lineno: -1)
Found 24 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 31 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/minimal_wrong_exififd_type.tif) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_without_modes
tiff file/dir=../tiffs_should_fail/wrong_subfile_type__wrong_xresolution_alignment.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/wrong_subfile_type__wrong_xresolution_alignment.tif
(EE) tag 254 (NewSubFileType) --> Tag should have one exact value. Denominator in fraction tag value is zero.; found: 0/0 (lineno: 2)
Found 14 valid results
Found 1 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 32 - call (./testdir//test.cfg_without_modes, ../tiffs_should_fail/wrong_subfile_type__wrong_xresolution_alignment.tif)
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/wrong_subfile_type__wrong_xresolution_alignment.tif
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/wrong_subfile_type__wrong_xresolution_alignment.tif
(EE) general --> All tag offsets should be word aligned, Tag offset is not word aligned.; found: tag 282 pointing to 0x000000e9 and is not word-aligned (lineno: 4)
(EE) general --> All tag offsets should be greater than zero, But an offset zero is used.; found: tag 254 pointing to 0x00000000 (lineno: 4)
(EE) tag 254 (NewSubFileType) --> Tag should have one exact value. Denominator in fraction tag value is zero.; found: 0/0 (lineno: 7)
(EE) tag 254 (NewSubFileType) --> Tag should have a valid and correct type. Unexpected tag type.; found: RATIONAL (lineno: 7)
Found 21 valid results
Found 4 errors
(EE)No, the given tif is not valid :(
[0;38;5;81m[][m
<-----------
ok 33 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/wrong_subfile_type__wrong_xresolution_alignment.tif) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/no_tiff/minimal.jxr
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/no_tiff/minimal.jxr
(HE)TIFF Header error, not a MAGIC BYTE for TIFF: 0x01bc
, but could be a JPEG XR, see http://www.itu.int/rec/T-REC-T.832
[0;38;5;81m[][m
<-----------
ok 34 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/no_tiff/minimal.jxr) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/no_tiff/minimal.tiff64
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/no_tiff/minimal.tiff64
(HE)TIFF Header error, not a MAGIC BYTE for TIFF: 0x002b
, but could be a BigTIFF, see http://www.awaresystems.be/imaging/tiff/bigtiff.html
[0;38;5;81m[][m
<-----------
ok 35 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/no_tiff/minimal.tiff64) w modes
----------->
'../build/checkit_tiff' version: master_v1.8.0-6-ge953799
revision: 1084
licensed under conditions of libtiff (see http://libtiff.maptools.org/misc.html)
ICCProfLib2 detected: yes (No ICCPROFLIB found)
ICCProfLib2 has symbol icc_validate_profile: no
(disabled full ICC profile checking, but using rudimentary ICC profile checks)
(compiled with flags: HAVE_MMAP)
cfg_file=./testdir//test.cfg_with_modes
tiff file/dir=../tiffs_should_fail/no_tiff/minimal.mdi
result IFD/tag --> rule description [; expected specific values] [error description] (lineno in config)
----------------------------------------------------------------------------
file: ../tiffs_should_fail/no_tiff/minimal.mdi
(HE)TIFF Header error, not Byte Order Bytes for TIFF: 0x5045
[0;38;5;81m[][m
<-----------
ok 36 - call (./testdir//test.cfg_with_modes, ../tiffs_should_fail/no_tiff/minimal.mdi) w modes
<end of output>
Test time = 0.21 sec
----------------------------------------------------------
Test Passed.
"03_invalidfiles" end time: Oct 18 09:50 CST
"03_invalidfiles" time elapsed: 00:00:00
----------------------------------------------------------
End testing: Oct 18 09:50 CST
OpenPGP_0x00186602339240CB.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
