comparison regression/regression-tests.bash @ 63:cfd6175f9334

Start work on pst2dii to convert to Summation dii load file format.
author Carl Byington <carl@five-ten-sg.com>
date Sat, 23 Feb 2008 14:36:17 -0800
parents 97b7706bdda2
children 90aa7814ad1f
comparison
equal deleted inserted replaced
62:ee4e0d00bc94 63:cfd6175f9334
1 #!/bin/bash 1 #!/bin/bash
2 2
3 val="valgrind --leak-check=full" 3 val="valgrind --leak-check=full"
4 val=''
4 5
5 for i in {1..10}; do 6 for i in {1..10}; do
6 rm -rf output$i 7 rm -rf output$i
7 mkdir output$i 8 mkdir output$i
8 done 9 done
9 10
11 hash=$(md5sum ams.pst)
12 pre="$hash
13 bates-"
14 $val ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "$pre" -o output1 -O mydii -d dumper ams.pst
15 ../src/readpstlog -f I dumper >ams.log
16 $val ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output2 -O mydii2 -d dumper sample_64.pst
17 ../src/readpstlog -f I dumper >sample_64.log
18 $val ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output3 -O mydii3 -d dumper test.pst
19 ../src/readpstlog -f I dumper >test.log
20 ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output4 -O mydii4 -d dumper big_mail.pst
21 ../src/readpstlog -f I dumper >big_mail.log
10 22
11 $val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err 2>&1 23 $val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err 2>&1
12 $val ../src/readpst -cv -o output1 ams.pst >out1.err 2>&1 24 $val ../src/readpst -cv -o output1 ams.pst >out1.err 2>&1
13 $val ../src/readpst -cl -r -o output2 ams.pst >out2.err 2>&1 25 $val ../src/readpst -cl -r -o output2 ams.pst >out2.err 2>&1
14 $val ../src/readpst -S -o output3 ams.pst >out3.err 2>&1 26 $val ../src/readpst -S -o output3 ams.pst >out3.err 2>&1
16 28
17 $val ../src/readpst -o output5 -d dumper mbmg.archive.pst >out5.err 2>&1 29 $val ../src/readpst -o output5 -d dumper mbmg.archive.pst >out5.err 2>&1
18 ../src/readpstlog -f I dumper >mbmg.archive.log 30 ../src/readpstlog -f I dumper >mbmg.archive.log
19 31
20 $val ../src/readpst -o output6 -d dumper test.pst >out6.err 2>&1 32 $val ../src/readpst -o output6 -d dumper test.pst >out6.err 2>&1
21 ../src/readpstlog -f I dumper >dumpertest.log 33 ../src/readpstlog -f I dumper >test.log
22 34
23 $val ../src/readpst -cv -o output7 -d dumper sample_64.pst >out7.err 2>&1 35 $val ../src/readpst -cv -o output7 -d dumper sample_64.pst >out7.err 2>&1
24 ../src/readpstlog -f I dumper >sample_64.log 36 ../src/readpstlog -f I dumper >sample_64.log
25 37
26 $val ../src/readpst -cv -o output8 -d dumper big_mail.pst >out8.err 2>&1 38 $val ../src/readpst -cv -o output8 -d dumper big_mail.pst >out8.err 2>&1