diff regression/regression-tests.bash @ 345:a8577226f7a9

fixes from AJ Shankar for attachment processing and body encodings that contain embedded null chars
author Carl Byington <carl@five-ten-sg.com>
date Mon, 09 Mar 2015 10:47:58 -0700
parents aedcf979f439
children a2da2bbe393a
line wrap: on
line diff
--- a/regression/regression-tests.bash	Mon Mar 09 08:49:47 2015 -0700
+++ b/regression/regression-tests.bash	Mon Mar 09 10:47:58 2015 -0700
@@ -65,12 +65,13 @@
             #$val ../src/readpst $jobs -te -r -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
 
             ## normal recursive dump
+            char='BIG-5'
             char='us-ascii'
             acc="-a '.xls,.doc'"
             acc=''
-            #char='BIG-5'
-            echo $val ../src/readpst $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn
-                 $val ../src/readpst $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
+            utf='-8'
+            echo $val ../src/readpst $utf $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn
+                 $val ../src/readpst $utf $acc -C $char -j 0 -r -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
 
             ## separate mode with filename extensions and .msg files
             #echo $val ../src/readpst $jobs     -r -m -D -cv -o output$n -d $ba.log $fn
@@ -108,36 +109,36 @@
 [ "$2" == "reg" ] && regression="yes"
 [ "$regression" == "yes" ] && val=""
 
-#$func   1 ams.pst
-#$func   2 sample_64.pst
-#$func   3 test.pst
-#$func   4 big_mail.pst
+$func   1 ams.pst
+$func   2 sample_64.pst
+$func   3 test.pst
+$func   4 big_mail.pst
 $func   5 mbmg.archive.pst
-#$func   6 Single2003-read.pst
-#$func   7 Single2003-unread.pst
-#$func   8 ol2k3high.pst
-#$func   9 ol97high.pst
-#$func  10 returned_message.pst
-#$func  11 flow.pst
-#$func  12 test-html.pst
-#$func  13 test-text.pst
-#$func  14 joe.romanowski.pst
-#$func  15 hourig1.pst
-#$func  16 test-mac.pst
-#$func  18 spam.pst
-#$func  19 rendgen.pst           # single email appointment
-#$func  20 rendgen2.pst          # email appointment with no termination date
-#$func  21 rendgen3.pst          # mime signed email
-#$func  22 rendgen4.pst          # appointment test cases
-#$func  23 rendgen5.pst          # appointment test cases
-#$func  24 paul.sheer.pst        # embedded rfc822 attachment
-#$func  25 jerry.pst             # non ascii subject lines
-#$func  26 phill.bertolus.pst    # possible segfault in forked process, cannot reproduce
-#$func  27 kaiser.pst            # appointments with other character sets
-#$func  28 pstsample.pst         # character set issue
-#$func  29 pstsample2.pst        # embedded image in rtf data
-#$func  30 pstsample3.pst        # exports of rtf and html
-#$func  31 Journal_Archives_08_29_2010.pst
+$func   6 Single2003-read.pst
+$func   7 Single2003-unread.pst
+$func   8 ol2k3high.pst
+$func   9 ol97high.pst
+$func  10 returned_message.pst
+$func  11 flow.pst
+$func  12 test-html.pst
+$func  13 test-text.pst
+$func  14 joe.romanowski.pst
+$func  15 hourig1.pst
+$func  16 test-mac.pst
+$func  18 spam.pst
+$func  19 rendgen.pst           # single email appointment
+$func  20 rendgen2.pst          # email appointment with no termination date
+$func  21 rendgen3.pst          # mime signed email
+$func  22 rendgen4.pst          # appointment test cases
+$func  23 rendgen5.pst          # appointment test cases
+$func  24 paul.sheer.pst        # embedded rfc822 attachment
+$func  25 jerry.pst             # non ascii subject lines
+$func  26 phill.bertolus.pst    # possible segfault in forked process, cannot reproduce
+$func  27 kaiser.pst            # appointments with other character sets
+$func  28 pstsample.pst         # character set issue
+$func  29 pstsample2.pst        # embedded image in rtf data
+$func  30 pstsample3.pst        # exports of rtf and html
+$func  31 Journal_Archives_08_29_2010.pst
 
 [ -n "$val" ] && grep 'lost:' *err | grep -v 'lost: 0 '