Mercurial > libpst
annotate regression/regression-tests.bash @ 44:d4606d460daf
more fixes for 64 bit format
author | carl |
---|---|
date | Tue, 08 Jan 2008 16:19:26 -0800 |
parents | f6db1f060a95 |
children | b2a7f2e0926a |
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 |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
17 $val ../src/readpst -o output6 test.pst >out6.err 2>&1 |
44 | 18 $val ../src/readpst -cv -o output7 -d dumper sample_64.pst >out7.err 2>&1 |
19 ../src/readpstlog -f I dumper >sample_64.log | |
43 | 20 |
21 $val ../src/lspst ams.pst >out8.err 2>&1 | |
22 ../src/readpstlog -f I lspst.debug >lspst.log | |
23 | |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
24 # ../src/readpst -o output6 -d dumper /tmp/test.pst |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
25 # ../src/readpstlog -f I dumper >dumpertest.log |
35 | 26 |
27 rm -f dumper |