comparison regression/regression-tests.bash @ 213:4a659f3138b7

fix pst2dii for shared library changes
author Carl Byington <carl@five-ten-sg.com>
date Mon, 08 Jun 2009 14:47:39 -0700
parents 94bde95d7e18
children fef2214083a4
comparison
equal deleted inserted replaced
212:8e17efed33c1 213:4a659f3138b7
18 18
19 function dodii() 19 function dodii()
20 { 20 {
21 n="$1" 21 n="$1"
22 fn="$2" 22 fn="$2"
23 echo $fn
23 rm -rf output$n 24 rm -rf output$n
24 mkdir output$n 25 mkdir output$n
25 $val ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output$n -O mydii$n -d dumper $fn >$fn.dii.err 2>&1 26 $val ../src/pst2dii -f /usr/share/fonts/bitstream-vera/VeraMono.ttf -B "bates-" -o output$n -O mydii$n -d $fn.log $fn >$fn.dii.err 2>&1
26 ../src/readpstlog -f I dumper >$fn.log
27 rm -f dumper 27 rm -f dumper
28 } 28 }
29 29
30 30
31 function doldif() 31 function doldif()
34 fn="$2" 34 fn="$2"
35 echo $fn 35 echo $fn
36 ba=$(basename "$fn" .pst) 36 ba=$(basename "$fn" .pst)
37 rm -rf output$n 37 rm -rf output$n
38 mkdir output$n 38 mkdir output$n
39 #$val ../src/pst2ldif -d dumper -b 'o=ams-cc.com, c=US' -c 'newPerson' -o $fn >$ba.ldif.err 2>&1 39 $val ../src/pst2ldif -d $ba.ldif.log -b 'o=ams-cc.com, c=US' -c 'inetOrgPerson' $fn >$ba.ldif.err 2>&1
40 $val ../src/pst2ldif -d dumper -b 'o=ams-cc.com, c=US' -c 'inetOrgPerson' $fn >$ba.ldif.err 2>&1
41 ../src/readpstlog -f I dumper >$ba.ldif.log
42 rm -f dumper 40 rm -f dumper
43 } 41 }
44 42
45 43
46 function dopst() 44 function dopst()
99 else 97 else
100 dopst 1 ams.pst 98 dopst 1 ams.pst
101 dopst 2 sample_64.pst 99 dopst 2 sample_64.pst
102 dopst 3 test.pst 100 dopst 3 test.pst
103 dopst 4 big_mail.pst 101 dopst 4 big_mail.pst
102 exit
104 dopst 5 mbmg.archive.pst 103 dopst 5 mbmg.archive.pst
105 dopst 6 Single2003-read.pst 104 dopst 6 Single2003-read.pst
106 dopst 7 Single2003-unread.pst 105 dopst 7 Single2003-unread.pst
107 dopst 8 ol2k3high.pst 106 dopst 8 ol2k3high.pst
108 dopst 9 ol97high.pst 107 dopst 9 ol97high.pst