comparison regression/regression-tests.bash @ 248:0893fdbb3c03

patch from Kenneth Berland for solaris
author Carl Byington <carl@five-ten-sg.com>
date Mon, 21 Jun 2010 20:24:25 -0700
parents f2ae612fa62b
children 4573b536177f
comparison
equal deleted inserted replaced
247:85d77d7b034b 248:0893fdbb3c03
66 66
67 ## normal recursive dump 67 ## normal recursive dump
68 #$val ../src/readpst $jobs -r -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 68 #$val ../src/readpst $jobs -r -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
69 69
70 ## separate mode with filename extensions 70 ## separate mode with filename extensions
71 #$val ../src/readpst $jobs -r -e -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 71 $val ../src/readpst $jobs -r -e -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
72 72
73 ## separate mode where we decode all attachments to binary files 73 ## separate mode where we decode all attachments to binary files
74 $val ../src/readpst $jobs -r -S -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 74 #$val ../src/readpst $jobs -r -S -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
75 75
76 ## testing idblock 76 ## testing idblock
77 #../src/getidblock -p $fn 0 >$ba.fulldump 77 #../src/getidblock -p $fn 0 >$ba.fulldump
78 fi 78 fi
79 fi 79 fi
99 99
100 regression="" 100 regression=""
101 [ "$2" == "reg" ] && regression="yes" 101 [ "$2" == "reg" ] && regression="yes"
102 [ "$regression" == "yes" ] && val="" 102 [ "$regression" == "yes" ] && val=""
103 103
104 $func 24 paul.sheer.pst # embedded rfc822 attachment
105 exit
104 $func 1 ams.pst 106 $func 1 ams.pst
105 $func 2 sample_64.pst 107 $func 2 sample_64.pst
106 $func 3 test.pst 108 $func 3 test.pst
107 $func 4 big_mail.pst 109 $func 4 big_mail.pst
108 $func 5 mbmg.archive.pst 110 $func 5 mbmg.archive.pst
122 $func 19 rendgen.pst # single email appointment 124 $func 19 rendgen.pst # single email appointment
123 $func 20 rendgen2.pst # email appointment with no termination date 125 $func 20 rendgen2.pst # email appointment with no termination date
124 $func 21 rendgen3.pst # mime signed email 126 $func 21 rendgen3.pst # mime signed email
125 $func 22 rendgen4.pst # appointment test cases 127 $func 22 rendgen4.pst # appointment test cases
126 $func 23 rendgen5.pst # appointment test cases 128 $func 23 rendgen5.pst # appointment test cases
129 $func 24 paul.sheer.pst # embedded rfc822 attachment
127 130
128 [ -n "$val" ] && grep 'lost:' *err | grep -v 'lost: 0 ' 131 [ -n "$val" ] && grep 'lost:' *err | grep -v 'lost: 0 '
129 132
130 if [ "$regression" == "yes" ]; then 133 if [ "$regression" == "yes" ]; then
131 ( 134 (