Mercurial > libpst
annotate regression/regression-tests.bash @ 70:b12f4e50e2e8
Patch from Joachim Metz <joachim.metz@gmail.com> for 64 bit compile.
Signed/unsigned cleanup from 'CFLAGS=-Wextra ./configure'
Reindent vbuf.c to make it readable.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 11 May 2008 10:04:33 -0700 |
parents | 90aa7814ad1f |
children | 1bd4491cf8ff |
rev | line source |
---|---|
35 | 1 #!/bin/bash |
2 | |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
3 val="valgrind --leak-check=full" |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
4 val='' |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
5 |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
52
diff
changeset
|
6 for i in {1..10}; do |
35 | 7 rm -rf output$i |
8 mkdir output$i | |
9 done | |
10 | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
11 hash=$(md5sum ams.pst) |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
12 pre="$hash |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
13 bates-" |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
14 $val ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "$pre" -o output1 -O mydii -d dumper ams.pst |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
15 ../src/readpstlog -f I dumper >ams.log |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
16 $val ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output2 -O mydii2 -d dumper sample_64.pst |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
17 ../src/readpstlog -f I dumper >sample_64.log |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
18 $val ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output3 -O mydii3 -d dumper test.pst |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
19 ../src/readpstlog -f I dumper >test.log |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
20 ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output4 -O mydii4 -d dumper big_mail.pst |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
21 ../src/readpstlog -f I dumper >big_mail.log |
67
90aa7814ad1f
Initial version of pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
22 exit |
44 | 23 |
49 | 24 $val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err 2>&1 |
25 $val ../src/readpst -cv -o output1 ams.pst >out1.err 2>&1 | |
26 $val ../src/readpst -cl -r -o output2 ams.pst >out2.err 2>&1 | |
27 $val ../src/readpst -S -o output3 ams.pst >out3.err 2>&1 | |
28 $val ../src/readpst -M -o output4 ams.pst >out4.err 2>&1 | |
48 | 29 |
49 | 30 $val ../src/readpst -o output5 -d dumper mbmg.archive.pst >out5.err 2>&1 |
31 ../src/readpstlog -f I dumper >mbmg.archive.log | |
46 | 32 |
49 | 33 $val ../src/readpst -o output6 -d dumper test.pst >out6.err 2>&1 |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
34 ../src/readpstlog -f I dumper >test.log |
49 | 35 |
36 $val ../src/readpst -cv -o output7 -d dumper sample_64.pst >out7.err 2>&1 | |
37 ../src/readpstlog -f I dumper >sample_64.log | |
43 | 38 |
48 | 39 $val ../src/readpst -cv -o output8 -d dumper big_mail.pst >out8.err 2>&1 |
40 ../src/readpstlog -f I dumper >big_mail.log | |
43 | 41 |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
52
diff
changeset
|
42 $val ../src/readpst -cv -o output9 -d dumper Single2003-read.pst >out9.err 2>&1 |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
52
diff
changeset
|
43 ../src/readpstlog -f I dumper >Single2003-read.log |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
52
diff
changeset
|
44 |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
52
diff
changeset
|
45 $val ../src/readpst -cv -o output10 -d dumper Single2003-unread.pst >out10.err 2>&1 |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
52
diff
changeset
|
46 ../src/readpstlog -f I dumper >Single2003-unread.log |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
52
diff
changeset
|
47 |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
52
diff
changeset
|
48 $val ../src/lspst -d dumper ams.pst >out11.err 2>&1 |
50 | 49 ../src/readpstlog -f I dumper >ams.log |
35 | 50 |
52 | 51 rm -f dumper |
48 | 52 |