comparison 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
comparison
equal deleted inserted replaced
40:be6d5329cc01 41:183ae993b9ad
1 #!/bin/bash 1 #!/bin/bash
2
3 val="valgrind --leak-check=full"
2 4
3 for i in {1..6}; do 5 for i in {1..6}; do
4 rm -rf output$i 6 rm -rf output$i
5 mkdir output$i 7 mkdir output$i
6 done 8 done
7 9
8 # ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err 10 $val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err 2>&1
9 # ../src/readpst -cv -o output1 ams.pst 11 $val ../src/readpst -cv -o output1 ams.pst >out1.err 2>&1
10 # ../src/readpst -cl -r -o output2 ams.pst 12 $val ../src/readpst -cl -r -o output2 ams.pst >out2.err 2>&1
11 # ../src/readpst -S -o output3 ams.pst 13 $val ../src/readpst -S -o output3 ams.pst >out3.err 2>&1
12 # ../src/readpst -M -o output4 ams.pst 14 $val ../src/readpst -M -o output4 ams.pst >out4.err 2>&1
13 # ../src/readpst -o output5 mbmg.archive.pst 15 $val ../src/readpst -o output5 mbmg.archive.pst >out5.err 2>&1
16 $val ../src/readpst -o output6 test.pst >out6.err 2>&1
14 17
15 ../src/readpst -o output1 -d dumper ams.pst 18 # ../src/readpst -o output1 -d dumper ams.pst
16 ../src/readpstlog -f I dumper >dumperams.log 19 # ../src/readpstlog -f I dumper >dumperams.log
17 20 #
18 # touch /tmp/pam.pst 21 # ../src/readpst -o output6 -d dumper /tmp/test.pst
19 # ../src/readpst -o output6 -d dumper /tmp/pam.pst 22 # ../src/readpstlog -f I dumper >dumpertest.log
20 # ../src/readpstlog -f I dumper >dumperpam.log
21 23
22 rm -f dumper 24 rm -f dumper