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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
35
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
1 #!/bin/bash
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
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
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
5 for i in {1..6}; do
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
6 rm -rf output$i
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
7 mkdir output$i
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
8 done
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
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
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
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
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
23
b2f247463b83 better decoding of 7c blocks
carl
parents:
diff changeset
24 rm -f dumper