Mercurial > libpst
annotate regression/regression-tests.bash @ 47:5fb8d997feed
more fixes for 64 bit format
author | carl |
---|---|
date | Sun, 13 Jan 2008 12:55:59 -0800 |
parents | b2a7f2e0926a |
children | f66078abed38 |
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" |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
4 |
43 | 5 for i in {1..7}; do |
35 | 6 rm -rf output$i |
7 mkdir output$i | |
8 done | |
9 | |
44 | 10 |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
11 $val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err 2>&1 |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
12 $val ../src/readpst -cv -o output1 ams.pst >out1.err 2>&1 |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
13 $val ../src/readpst -cl -r -o output2 ams.pst >out2.err 2>&1 |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
14 $val ../src/readpst -S -o output3 ams.pst >out3.err 2>&1 |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
15 $val ../src/readpst -M -o output4 ams.pst >out4.err 2>&1 |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
16 $val ../src/readpst -o output5 mbmg.archive.pst >out5.err 2>&1 |
46 | 17 |
18 $val ../src/readpst -o output6 -d dumper test.pst >out6.err 2>&1 | |
19 ../src/readpstlog -f I dumper >dumpertest.log | |
20 | |
44 | 21 $val ../src/readpst -cv -o output7 -d dumper sample_64.pst >out7.err 2>&1 |
22 ../src/readpstlog -f I dumper >sample_64.log | |
43 | 23 |
24 $val ../src/lspst ams.pst >out8.err 2>&1 | |
25 ../src/readpstlog -f I lspst.debug >lspst.log | |
26 | |
46 | 27 rm -f dumper lspst.debug |
35 | 28 |