diff regression/regression-tests.bash @ 167:40e9de445038

improve consistency checking when fetching items from the pst file. avoid putting mixed item types into the same output folder.
author Carl Byington <carl@five-ten-sg.com>
date Wed, 18 Mar 2009 22:31:18 -0700
parents ab384fed78c5
children c1a2fd06ffe6
line wrap: on
line diff
--- a/regression/regression-tests.bash	Tue Mar 17 12:14:43 2009 -0700
+++ b/regression/regression-tests.bash	Wed Mar 18 22:31:18 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 -S -cv -o output$n -d dumper $fn >$ba.err 2>&1
+    $val ../src/readpst -r -D -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,7 +50,7 @@
 
 
 val="valgrind --leak-check=full"
-val=''
+#val=''
 
 pushd ..
 make || exit
@@ -84,7 +84,7 @@
     #doldif  18 test-mac.pst
     #doldif  19 harris.pst
 else
-    dopst  20 spam.pst
+    dopst  11 flow.pst
     exit
     dopst   1 ams.pst
     dopst   2 sample_64.pst
@@ -96,7 +96,6 @@
     dopst   8 ol2k3high.pst
     dopst   9 ol97high.pst
     dopst  10 returned_message.pst
-    dopst  11 flow.pst
     dopst  12 test-html.pst
     dopst  13 test-text.pst
     dopst  14 joe.romanowski.pst
@@ -105,6 +104,8 @@
     #dopst  17 hourig3.pst
     dopst  18 test-mac.pst
     dopst  19 harris.pst
+    dopst  20 spam.pst
 fi
 
 grep 'lost:' *err | grep -v 'lost: 0 '
+grep 'should have been' *err