comparison regression/regression-tests.bash @ 377:506e266f930d

Vitaliy Didik - fix MSVC build
author Carl Byington <carl@five-ten-sg.com>
date Mon, 20 Nov 2017 08:19:28 -0800
parents 5b52efe35bd8
children
comparison
equal deleted inserted replaced
376:b58ca528f5c9 377:506e266f930d
79 ## kmail mode 79 ## kmail mode
80 #echo $val ../src/readpst $utf $acc -C $char -j 0 -k -cv -o output$n -d $ba.log $fn 80 #echo $val ../src/readpst $utf $acc -C $char -j 0 -k -cv -o output$n -d $ba.log $fn
81 # $val ../src/readpst $utf $acc -C $char -j 0 -k -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 81 # $val ../src/readpst $utf $acc -C $char -j 0 -k -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
82 82
83 ## recursive mode 83 ## recursive mode
84 #echo $val ../src/readpst $utf $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn 84 echo $val ../src/readpst $utf $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn
85 # $val ../src/readpst $utf $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 85 $val ../src/readpst $utf $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
86 86
87 ## separate mode with filename extensions and .msg files 87 ## separate mode with filename extensions and .msg files
88 #echo $val ../src/readpst $jobs -r -m -D -cv -o output$n -d $ba.log $fn 88 #echo $val ../src/readpst $jobs -r -m -D -cv -o output$n -d $ba.log $fn
89 # $val ../src/readpst $jobs -r -m -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 89 # $val ../src/readpst $jobs -r -m -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
90 90
91 ## separate mode where we decode all attachments to binary files 91 ## separate mode where we decode all attachments to binary files
92 echo $val ../src/readpst $jobs -r -S -D -cv -o output$n -d $ba.log $fn 92 #echo $val ../src/readpst $jobs -r -S -D -cv -o output$n -d $ba.log $fn
93 $val ../src/readpst $jobs -r -S -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1 93 # $val ../src/readpst $jobs -r -S -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
94 94
95 ## testing idblock 95 ## testing idblock
96 #../src/getidblock -p $fn 0 >$ba.fulldump 96 #../src/getidblock -p $fn 0 >$ba.fulldump
97 fi 97 fi
98 fi 98 fi
120 120
121 regression="" 121 regression=""
122 [ "$2" == "reg" ] && regression="yes" 122 [ "$2" == "reg" ] && regression="yes"
123 [ "$regression" == "yes" ] && val="" 123 [ "$regression" == "yes" ] && val=""
124 124
125 # $func 1 ams.pst 125 $func 1 ams.pst
126 # $func 2 sample_64.pst 126 $func 2 sample_64.pst
127 # $func 3 test.pst 127 $func 3 test.pst
128 # $func 4 big_mail.pst 128 $func 4 big_mail.pst
129 # $func 5 mbmg.archive.pst 129 $func 5 mbmg.archive.pst
130 # $func 6 Single2003-read.pst 130 $func 6 Single2003-read.pst
131 # $func 7 Single2003-unread.pst 131 $func 7 Single2003-unread.pst
132 # $func 8 ol2k3high.pst 132 $func 8 ol2k3high.pst
133 # $func 9 ol97high.pst 133 $func 9 ol97high.pst
134 # $func 10 returned_message.pst 134 $func 10 returned_message.pst
135 # $func 11 flow.pst 135 $func 11 flow.pst
136 # $func 12 test-html.pst 136 $func 12 test-html.pst
137 # $func 13 test-text.pst 137 $func 13 test-text.pst
138 # $func 14 joe.romanowski.pst 138 $func 14 joe.romanowski.pst
139 # $func 15 hourig1.pst 139 $func 15 hourig1.pst
140 # $func 16 test-mac.pst 140 $func 16 test-mac.pst
141 # $func 17 backup.pst 141 $func 17 backup.pst
142 # $func 18 spam.pst 142 $func 18 spam.pst
143 # $func 19 rendgen.pst # single email appointment 143 $func 19 rendgen.pst # single email appointment
144 # $func 20 rendgen2.pst # email appointment with no termination date 144 $func 20 rendgen2.pst # email appointment with no termination date
145 # $func 21 rendgen3.pst # mime signed email 145 $func 21 rendgen3.pst # mime signed email
146 $func 22 rendgen4.pst # appointment test cases 146 $func 22 rendgen4.pst # appointment test cases
147 # $func 23 rendgen5.pst # appointment test cases 147 $func 23 rendgen5.pst # appointment test cases
148 # $func 24 paul.sheer.pst # embedded rfc822 attachment 148 $func 24 paul.sheer.pst # embedded rfc822 attachment
149 # $func 25 jerry.pst # non ascii subject lines 149 $func 25 jerry.pst # non ascii subject lines
150 # $func 26 phill.bertolus.pst # possible segfault in forked process, cannot reproduce 150 $func 26 phill.bertolus.pst # possible segfault in forked process, cannot reproduce
151 # $func 27 kaiser.pst # appointments with other character sets 151 $func 27 kaiser.pst # appointments with other character sets
152 # $func 28 pstsample.pst # character set issue 152 $func 28 pstsample.pst # character set issue
153 # $func 29 pstsample2.pst # embedded image in rtf data 153 $func 29 pstsample2.pst # embedded image in rtf data
154 # $func 30 pstsample3.pst # exports of rtf and html 154 $func 30 pstsample3.pst # exports of rtf and html
155 # $func 31 Journal_Archives_08_29_2010.pst 155 $func 31 Journal_Archives_08_29_2010.pst
156 156
157 [ -n "$val" ] && grep 'lost:' *err | grep -v 'lost: 0 ' 157 [ -n "$val" ] && grep 'lost:' *err | grep -v 'lost: 0 '
158 158
159 if [ "$regression" == "yes" ]; then 159 if [ "$regression" == "yes" ]; then
160 ( 160 (