view regression/regression-tests.bash @ 42:7a97f50c39c5 stable-0-5-12 **FUNKY**

security fix for potential buffer overrun in lz decompress
author carl
date Tue, 02 Oct 2007 16:10:36 -0700
parents 183ae993b9ad
children f6db1f060a95
line wrap: on
line source

#!/bin/bash

val="valgrind --leak-check=full"

for i in {1..6}; do
    rm -rf output$i
    mkdir output$i
done

$val  ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err  2>&1
$val  ../src/readpst -cv    -o output1 ams.pst                       >out1.err 2>&1
$val  ../src/readpst -cl -r -o output2 ams.pst                       >out2.err 2>&1
$val  ../src/readpst -S     -o output3 ams.pst                       >out3.err 2>&1
$val  ../src/readpst -M     -o output4 ams.pst                       >out4.err 2>&1
$val  ../src/readpst        -o output5 mbmg.archive.pst              >out5.err 2>&1
$val  ../src/readpst        -o output6 test.pst                      >out6.err 2>&1

#   ../src/readpst        -o output1 -d dumper ams.pst
#   ../src/readpstlog -f I dumper >dumperams.log
#
#   ../src/readpst        -o output6 -d dumper /tmp/test.pst
#   ../src/readpstlog -f I dumper >dumpertest.log

    rm -f dumper