diff regression/regression-tests.bash @ 164:ab384fed78c5

Compensate for iconv conversion to utf-7 that produces strings that are not null terminated. Don't produce empty attachment files in separate mode.
author Carl Byington <carl@five-ten-sg.com>
date Mon, 16 Mar 2009 18:31:39 -0700
parents 03fbb0269f3c
children 40e9de445038
line wrap: on
line diff
--- a/regression/regression-tests.bash	Mon Mar 16 12:43:31 2009 -0700
+++ b/regression/regression-tests.bash	Mon Mar 16 18:31:39 2009 -0700
@@ -38,7 +38,7 @@
     mkdir output$n
     #    ../src/readpst -cv -o output$n $fn >$ba.err 2>&1
     #           readpst -cv -o output$n -d dumper $fn >$ba.err 2>&1
-    $val ../src/readpst -r -cv -o output$n -d dumper $fn >$ba.err 2>&1
+    $val ../src/readpst -S -cv -o output$n -d dumper $fn >$ba.err 2>&1
          ../src/readpstlog -f I dumper >$ba.log
 
     #../src/getidblock -d -p $fn 0 >$ba.fulldump
@@ -50,12 +50,14 @@
 
 
 val="valgrind --leak-check=full"
-#val=''
+val=''
 
 pushd ..
 make || exit
 popd
 
+rm -rf output* *.err *.log
+
 if [ "$1" == "dii" ]; then
     dodii 1 ams.pst
     dodii 2 sample_64.pst
@@ -82,8 +84,9 @@
     #doldif  18 test-mac.pst
     #doldif  19 harris.pst
 else
+    dopst  20 spam.pst
+    exit
     dopst   1 ams.pst
-    exit
     dopst   2 sample_64.pst
     dopst   3 test.pst
     dopst   4 big_mail.pst