view regression/regression-tests.bash @ 73:3cb02cb1e6cd stable-0-6-10

Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them). More changes for Fedora packaging (#434727) Fixes for const correctness.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 29 May 2008 18:51:02 -0700
parents 1bd4491cf8ff
children 56fa05fd5271
line wrap: on
line source

#!/bin/bash

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

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

if [ "$1" == "dii" ]; then
    hash=$(md5sum ams.pst)
    pre="$hash
    bates-"
    $val  ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "$pre" -o output1 -O mydii -d dumper ams.pst
          ../src/readpstlog -f I dumper >ams.log
    $val  ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output2 -O mydii2 -d dumper sample_64.pst
          ../src/readpstlog -f I dumper >sample_64.log
    $val  ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output3 -O mydii3 -d dumper test.pst
          ../src/readpstlog -f I dumper >test.log
          ../src/pst2dii  -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output4 -O mydii4 -d dumper big_mail.pst
          ../src/readpstlog -f I dumper >big_mail.log
    exit
fi

$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 -d dumper mbmg.archive.pst    >out5.err 2>&1
      ../src/readpstlog -f I dumper >mbmg.archive.log

$val  ../src/readpst        -o output6 -d dumper test.pst            >out6.err 2>&1
      ../src/readpstlog -f I dumper >test.log

$val  ../src/readpst -cv    -o output7 -d dumper sample_64.pst       >out7.err 2>&1
      ../src/readpstlog -f I dumper >sample_64.log

$val  ../src/readpst -cv    -o output8 -d dumper big_mail.pst        >out8.err 2>&1
      ../src/readpstlog -f I dumper >big_mail.log

$val  ../src/readpst -cv    -o output9 -d dumper Single2003-read.pst >out9.err 2>&1
      ../src/readpstlog -f I dumper >Single2003-read.log

$val  ../src/readpst -cv    -o output10 -d dumper Single2003-unread.pst >out10.err 2>&1
      ../src/readpstlog -f I dumper >Single2003-unread.log

$val  ../src/lspst -d dumper ams.pst                                 >out11.err 2>&1
      ../src/readpstlog -f I dumper >ams.log

rm -f dumper