Mercurial > libpst
annotate regression/regression-tests.bash @ 395:fbe51207b963
changes to build on centos 6
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 12 Jan 2020 14:10:17 -0800 |
parents | 506e266f930d |
children |
rev | line source |
---|---|
35 | 1 #!/bin/bash |
2 | |
100
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
3 |
176
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
4 function consistency() |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
5 { |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
6 # check source and xml documentation for consistency |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
7 ( |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
8 cd .. # back to top level of project |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
9 f1=/tmp/f1$$ |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
10 f2=/tmp/f2$$ |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
11 grep 'case 0x' src/libpst.c | awk '{print $2}' | tr A-Z a-z | sed -e 's/://g' | sort >$f1 |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
12 grep '^0x' xml/libpst.in | awk '{print $1}' | (for i in {1..19}; do read a; done; cat) | sort >$f2 |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
13 diff $f1 $f2 |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
14 less $f1 |
361 | 15 #rm -f $f1 $f2 |
16 ls -al $f1 $f2 | |
176
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
17 ) |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
18 } |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
19 |
100
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
20 function dodii() |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
21 { |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
22 n="$1" |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
23 fn="$2" |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
24 ba=$(basename "$fn" .pst) |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
25 size=$(stat -c %s $fn) |
100
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
26 rm -rf output$n |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
27 if [ -z "$val" ] || [ $size -lt 10000000 ]; then |
239
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
28 echo $fn |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
29 mkdir output$n |
366
67a3ee227495
fix bug in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
363
diff
changeset
|
30 $val ../src/pst2dii -f /usr/share/fonts/liberation/LiberationMono-Regular.ttf -B "bates-" -o output$n -O $ba.mydii -d $fn.log $fn >$fn.dii.err 2>&1 |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
31 fi |
100
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
32 } |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
33 |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
34 |
150
06aa84023b48
rename some structure fields to reflect our better understanding of the pst format
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
35 function doldif() |
06aa84023b48
rename some structure fields to reflect our better understanding of the pst format
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
36 { |
06aa84023b48
rename some structure fields to reflect our better understanding of the pst format
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
37 n="$1" |
06aa84023b48
rename some structure fields to reflect our better understanding of the pst format
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
38 fn="$2" |
06aa84023b48
rename some structure fields to reflect our better understanding of the pst format
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
39 ba=$(basename "$fn" .pst) |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
40 size=$(stat -c %s $fn) |
150
06aa84023b48
rename some structure fields to reflect our better understanding of the pst format
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
41 rm -rf output$n |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
42 if [ -z "$val" ] || [ $size -lt 10000000 ]; then |
239
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
43 echo $fn |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
44 mkdir output$n |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
45 $val ../src/pst2ldif -d $ba.ldif.log -b 'o=ams-cc.com, c=US' -c 'inetOrgPerson' $fn >$ba.ldif.err 2>&1 |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
46 fi |
150
06aa84023b48
rename some structure fields to reflect our better understanding of the pst format
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
47 } |
06aa84023b48
rename some structure fields to reflect our better understanding of the pst format
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
48 |
06aa84023b48
rename some structure fields to reflect our better understanding of the pst format
Carl Byington <carl@five-ten-sg.com>
parents:
148
diff
changeset
|
49 |
100
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
50 function dopst() |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
51 { |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
52 n="$1" |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
53 fn="$2" |
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
116
diff
changeset
|
54 ba=$(basename "$fn" .pst) |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
55 size=$(stat -c %s $fn) |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
56 jobs="" |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
57 [ -n "$val" ] && jobs="-j 0" |
100
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
58 rm -rf output$n |
258
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
59 if [ -z "$val" ] || [ $size -lt 100000000 ]; then |
239
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
60 echo $fn |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
61 mkdir output$n |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
62 if [ "$regression" == "yes" ]; then |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
63 $val ../src/readpst $jobs -te -r -cv -o output$n $fn >$ba.err 2>&1 |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
64 else |
239
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
65 ## only email and include deleted items, have a deleted items folder with multiple item types |
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
66 #$val ../src/readpst $jobs -te -r -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 |
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
67 |
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
68 ## normal recursive dump |
345
a8577226f7a9
fixes from AJ Shankar for attachment processing and body encodings that contain embedded null chars
Carl Byington <carl@five-ten-sg.com>
parents:
344
diff
changeset
|
69 char='BIG-5' |
323
2474d01043cd
fix From quoting on embedded rfc/822 messages
Carl Byington <carl@five-ten-sg.com>
parents:
319
diff
changeset
|
70 char='us-ascii' |
331
c5e7f13d2836
.msg files should use only one of short or long filename fields
Carl Byington <carl@five-ten-sg.com>
parents:
328
diff
changeset
|
71 acc="-a '.xls,.doc'" |
c5e7f13d2836
.msg files should use only one of short or long filename fields
Carl Byington <carl@five-ten-sg.com>
parents:
328
diff
changeset
|
72 acc='' |
345
a8577226f7a9
fixes from AJ Shankar for attachment processing and body encodings that contain embedded null chars
Carl Byington <carl@five-ten-sg.com>
parents:
344
diff
changeset
|
73 utf='-8' |
367
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
74 |
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
75 ## normal mode |
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
76 #echo $val ../src/readpst $utf $acc -C $char -j 0 -cv -o output$n -d $ba.log $fn |
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
77 # $val ../src/readpst $utf $acc -C $char -j 0 -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 |
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
78 |
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
79 ## kmail mode |
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
80 #echo $val ../src/readpst $utf $acc -C $char -j 0 -k -cv -o output$n -d $ba.log $fn |
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
81 # $val ../src/readpst $utf $acc -C $char -j 0 -k -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 |
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
82 |
6b7c19a820e1
fix bugs in code allowing folders containing multiple item types
Carl Byington <carl@five-ten-sg.com>
parents:
366
diff
changeset
|
83 ## recursive mode |
377
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
84 echo $val ../src/readpst $utf $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
85 $val ../src/readpst $utf $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 |
239
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
86 |
319
6fc49b69b1dc
remove unnecessary dependencies
Carl Byington <carl@five-ten-sg.com>
parents:
316
diff
changeset
|
87 ## separate mode with filename extensions and .msg files |
323
2474d01043cd
fix From quoting on embedded rfc/822 messages
Carl Byington <carl@five-ten-sg.com>
parents:
319
diff
changeset
|
88 #echo $val ../src/readpst $jobs -r -m -D -cv -o output$n -d $ba.log $fn |
2474d01043cd
fix From quoting on embedded rfc/822 messages
Carl Byington <carl@five-ten-sg.com>
parents:
319
diff
changeset
|
89 # $val ../src/readpst $jobs -r -m -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 |
239
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
90 |
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
91 ## separate mode where we decode all attachments to binary files |
377
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
92 #echo $val ../src/readpst $jobs -r -S -D -cv -o output$n -d $ba.log $fn |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
93 # $val ../src/readpst $jobs -r -S -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 |
239
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
94 |
aa50c23a6935
patch from Lee Ayres to add file name extensions in separate mode; allow mixed items types in a folder in separate mode
Carl Byington <carl@five-ten-sg.com>
parents:
236
diff
changeset
|
95 ## testing idblock |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
96 #../src/getidblock -p $fn 0 >$ba.fulldump |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
97 fi |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
98 fi |
100
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
99 } |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
100 |
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
101 |
361 | 102 #consistency |
103 #exit | |
100
1e4a7610d525
fixes from Justin Greer to add -D option to include deleted items, to add missing email headers, to fix bug in my_stristr()
Carl Byington <carl@five-ten-sg.com>
parents:
99
diff
changeset
|
104 |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
105 |
93 | 106 pushd .. |
107 make || exit | |
108 popd | |
109 | |
164
ab384fed78c5
Compensate for iconv conversion to utf-7 that produces strings that are not null terminated.
Carl Byington <carl@five-ten-sg.com>
parents:
163
diff
changeset
|
110 rm -rf output* *.err *.log |
ab384fed78c5
Compensate for iconv conversion to utf-7 that produces strings that are not null terminated.
Carl Byington <carl@five-ten-sg.com>
parents:
163
diff
changeset
|
111 |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
112 v="valgrind --leak-check=full" |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
113 val="" |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
114 |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
115 func="dopst" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
116 [ "$1" == "pst" ] && func="dopst" |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
117 [ "$1" == "pstv" ] && func="dopst" && val=$v |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
118 [ "$1" == "ldif" ] && func="doldif" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
119 [ "$1" == "dii" ] && func="dodii" |
231
fe64279df92b
patches from Chris White, Roberto Polli, Justin Greer
Carl Byington <carl@five-ten-sg.com>
parents:
230
diff
changeset
|
120 |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
121 regression="" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
122 [ "$2" == "reg" ] && regression="yes" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
123 [ "$regression" == "yes" ] && val="" |
231
fe64279df92b
patches from Chris White, Roberto Polli, Justin Greer
Carl Byington <carl@five-ten-sg.com>
parents:
230
diff
changeset
|
124 |
377
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
125 $func 1 ams.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
126 $func 2 sample_64.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
127 $func 3 test.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
128 $func 4 big_mail.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
129 $func 5 mbmg.archive.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
130 $func 6 Single2003-read.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
131 $func 7 Single2003-unread.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
132 $func 8 ol2k3high.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
133 $func 9 ol97high.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
134 $func 10 returned_message.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
135 $func 11 flow.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
136 $func 12 test-html.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
137 $func 13 test-text.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
138 $func 14 joe.romanowski.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
139 $func 15 hourig1.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
140 $func 16 test-mac.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
141 $func 17 backup.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
142 $func 18 spam.pst |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
143 $func 19 rendgen.pst # single email appointment |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
144 $func 20 rendgen2.pst # email appointment with no termination date |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
145 $func 21 rendgen3.pst # mime signed email |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
146 $func 22 rendgen4.pst # appointment test cases |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
147 $func 23 rendgen5.pst # appointment test cases |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
148 $func 24 paul.sheer.pst # embedded rfc822 attachment |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
149 $func 25 jerry.pst # non ascii subject lines |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
150 $func 26 phill.bertolus.pst # possible segfault in forked process, cannot reproduce |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
151 $func 27 kaiser.pst # appointments with other character sets |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
152 $func 28 pstsample.pst # character set issue |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
153 $func 29 pstsample2.pst # embedded image in rtf data |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
154 $func 30 pstsample3.pst # exports of rtf and html |
506e266f930d
Vitaliy Didik - fix MSVC build
Carl Byington <carl@five-ten-sg.com>
parents:
372
diff
changeset
|
155 $func 31 Journal_Archives_08_29_2010.pst |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
156 |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
157 [ -n "$val" ] && grep 'lost:' *err | grep -v 'lost: 0 ' |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
158 |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
159 if [ "$regression" == "yes" ]; then |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
160 ( |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
161 (for i in output*; do find $i -type f; done) | while read a; do |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
162 grep -v iamunique "$a" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
163 rm -f "$a" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
164 done |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
165 ) >regression.txt |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
67
diff
changeset
|
166 fi |