diff regression/regression-tests.bash @ 304:5338d93889aa

preserve bcc headers, document -C switch to set default character set, space after colon is not required in header fields
author Carl Byington <carl@five-ten-sg.com>
date Tue, 08 May 2012 10:52:24 -0700
parents 47abe56076da
children c4537664ff50
line wrap: on
line diff
--- a/regression/regression-tests.bash	Sat Dec 24 17:49:12 2011 -0800
+++ b/regression/regression-tests.bash	Tue May 08 10:52:24 2012 -0700
@@ -65,14 +65,18 @@
             #$val ../src/readpst $jobs -te -r -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
 
             ## normal recursive dump
-            #$val ../src/readpst  -j 0 -r -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
+            char='us-ascii'
+            char='BIG-5'
+            echo $val ../src/readpst -C $char -j 0 -r -cv -o output$n -d $ba.log $fn
+                 $val ../src/readpst -C $char -j 0 -r -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
 
             ## separate mode with filename extensions
-            #$val ../src/readpst $jobs     -r -e -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
+            #echo $val ../src/readpst $jobs     -r -e -D -cv -o output$n -d $ba.log $fn
+            #     $val ../src/readpst $jobs     -r -e -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
 
             ## separate mode where we decode all attachments to binary files
-            echo $val ../src/readpst $jobs      -r -S -D -cv -o output$n -d $ba.log $fn
-            $val ../src/readpst $jobs      -r -S -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
+            #echo $val ../src/readpst $jobs      -r -S -D -cv -o output$n -d $ba.log $fn
+            #     $val ../src/readpst $jobs      -r -S -D -cv -o output$n -d $ba.log $fn >$ba.err 2>&1
 
             ## testing idblock
             #../src/getidblock -p $fn 0 >$ba.fulldump