Mercurial > libpst
annotate regression/regression-tests.bash @ 41:183ae993b9ad
security fix for potential buffer overrun in lz decompress
author | carl |
---|---|
date | Tue, 02 Oct 2007 15:49:44 -0700 |
parents | 6fe121a971c9 |
children | f6db1f060a95 |
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 |
35 | 5 for i in {1..6}; do |
6 rm -rf output$i | |
7 mkdir output$i | |
8 done | |
9 | |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
10 $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
|
11 $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
|
12 $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
|
13 $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
|
14 $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
|
15 $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
|
16 $val ../src/readpst -o output6 test.pst >out6.err 2>&1 |
35 | 17 |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
18 # ../src/readpst -o output1 -d dumper ams.pst |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
19 # ../src/readpstlog -f I dumper >dumperams.log |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
20 # |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
21 # ../src/readpst -o output6 -d dumper /tmp/test.pst |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
22 # ../src/readpstlog -f I dumper >dumpertest.log |
35 | 23 |
24 rm -f dumper |