Mercurial > libpst
annotate regression/regression-tests.bash @ 270:6c73cd336d5d
prep for fedora build
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 17 Apr 2011 19:27:26 -0700 |
parents | 191c1a7e769e |
children | 345dab73b5c8 |
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 |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
15 rm -f $f1 $f2 |
ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
Carl Byington <carl@five-ten-sg.com>
parents:
168
diff
changeset
|
16 ) |
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 |
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
|
19 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
|
20 { |
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 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
|
22 fn="$2" |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
23 ba=$(basename "$fn" .pst) |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
24 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
|
25 rm -rf output$n |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
26 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
|
27 echo $fn |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
28 mkdir output$n |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
29 $val ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output$n -O $ba.mydii -d $fn.log $fn >$fn.dii.err 2>&1 |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
30 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
|
31 } |
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 |
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
|
34 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
|
35 { |
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 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
|
37 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
|
38 ba=$(basename "$fn" .pst) |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
39 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
|
40 rm -rf output$n |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
41 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
|
42 echo $fn |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
43 mkdir output$n |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
44 $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
|
45 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
|
46 } |
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 |
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
|
49 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
|
50 { |
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 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
|
52 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
|
53 ba=$(basename "$fn" .pst) |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
54 size=$(stat -c %s $fn) |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
55 jobs="" |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
56 [ -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
|
57 rm -rf output$n |
258
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
58 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
|
59 echo $fn |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
60 mkdir output$n |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
61 if [ "$regression" == "yes" ]; then |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
62 $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
|
63 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
|
64 ## only email and include deleted items, have a deleted items folder with multiple item types |
258
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
65 #$val ../src/readpst $jobs -te -r -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
|
66 |
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 ## normal recursive dump |
270 | 68 $val ../src/readpst -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
|
69 |
244
f2ae612fa62b
fixes for fedora 13 change in implicit dso linking semantics
Carl Byington <carl@five-ten-sg.com>
parents:
239
diff
changeset
|
70 ## separate mode with filename extensions |
252
4573b536177f
fix for broken internet headers from Outlook
Carl Byington <carl@five-ten-sg.com>
parents:
248
diff
changeset
|
71 #$val ../src/readpst $jobs -r -e -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
|
72 |
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
|
73 ## separate mode where we decode all attachments to binary files |
248
0893fdbb3c03
patch from Kenneth Berland for solaris
Carl Byington <carl@five-ten-sg.com>
parents:
244
diff
changeset
|
74 #$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
|
75 |
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
|
76 ## testing idblock |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
77 #../src/getidblock -p $fn 0 >$ba.fulldump |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
78 fi |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
79 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
|
80 } |
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
|
81 |
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
|
82 |
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
|
83 |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
84 |
93 | 85 pushd .. |
86 make || exit | |
87 popd | |
88 | |
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
|
89 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
|
90 |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
91 v="valgrind --leak-check=full" |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
92 val="" |
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
93 |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
94 func="dopst" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
95 [ "$1" == "pst" ] && func="dopst" |
236
093e0e9248bb
cleanup rfc822 embedded message code
Carl Byington <carl@five-ten-sg.com>
parents:
234
diff
changeset
|
96 [ "$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
|
97 [ "$1" == "ldif" ] && func="doldif" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
98 [ "$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
|
99 |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
100 regression="" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
101 [ "$2" == "reg" ] && regression="yes" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
102 [ "$regression" == "yes" ] && val="" |
231
fe64279df92b
patches from Chris White, Roberto Polli, Justin Greer
Carl Byington <carl@five-ten-sg.com>
parents:
230
diff
changeset
|
103 |
257
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
104 #$func 1 ams.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
105 #$func 2 sample_64.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
106 #$func 3 test.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
107 #$func 4 big_mail.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
108 #$func 5 mbmg.archive.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
109 #$func 6 Single2003-read.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
110 #$func 7 Single2003-unread.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
111 ##$func 8 ol2k3high.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
112 ##$func 9 ol97high.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
113 #$func 10 returned_message.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
114 ##$func 11 flow.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
115 #$func 12 test-html.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
116 #$func 13 test-text.pst |
270 | 117 #$func 14 joe.romanowski.pst |
257
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
118 #$func 15 hourig1.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
119 #$func 16 test-mac.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
120 ##$func 17 harris.pst |
c947b8812120
rfc2047 and rfc2231 encoding for non-ascii headers and attachment filenames
Carl Byington <carl@five-ten-sg.com>
parents:
252
diff
changeset
|
121 ##$func 18 spam.pst |
258
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
122 #$func 19 rendgen.pst # single email appointment |
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
123 #$func 20 rendgen2.pst # email appointment with no termination date |
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
124 #$func 21 rendgen3.pst # mime signed email |
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
125 #$func 22 rendgen4.pst # appointment test cases |
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
126 #$func 23 rendgen5.pst # appointment test cases |
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
127 #$func 24 paul.sheer.pst # embedded rfc822 attachment |
8ad8fd1c5451
check return codes from forked processes
Carl Byington <carl@five-ten-sg.com>
parents:
257
diff
changeset
|
128 #$func 25 jerry.pst # non ascii subject lines |
260
156cf548c764
adding more debug code
Carl Byington <carl@five-ten-sg.com>
parents:
259
diff
changeset
|
129 #$func 26 phill.bertolus.pst # possible segfault in forked process, cannot reproduce |
270 | 130 $func 27 justin.phelps.pst # segfault in attachment processing. |
234
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
131 |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
132 [ -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
|
133 |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
134 if [ "$regression" == "yes" ]; then |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
135 ( |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
136 (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
|
137 grep -v iamunique "$a" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
138 rm -f "$a" |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
139 done |
ed0cb66b23d4
better detection of dsn delivery reports
Carl Byington <carl@five-ten-sg.com>
parents:
233
diff
changeset
|
140 ) >regression.txt |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
67
diff
changeset
|
141 fi |