comparison 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
comparison
equal deleted inserted replaced
163:03fbb0269f3c 164:ab384fed78c5
36 ba=$(basename "$fn" .pst) 36 ba=$(basename "$fn" .pst)
37 rm -rf output$n 37 rm -rf output$n
38 mkdir output$n 38 mkdir output$n
39 # ../src/readpst -cv -o output$n $fn >$ba.err 2>&1 39 # ../src/readpst -cv -o output$n $fn >$ba.err 2>&1
40 # readpst -cv -o output$n -d dumper $fn >$ba.err 2>&1 40 # readpst -cv -o output$n -d dumper $fn >$ba.err 2>&1
41 $val ../src/readpst -r -cv -o output$n -d dumper $fn >$ba.err 2>&1 41 $val ../src/readpst -S -cv -o output$n -d dumper $fn >$ba.err 2>&1
42 ../src/readpstlog -f I dumper >$ba.log 42 ../src/readpstlog -f I dumper >$ba.log
43 43
44 #../src/getidblock -d -p $fn 0 >$ba.fulldump 44 #../src/getidblock -d -p $fn 0 >$ba.fulldump
45 #../src/readpstlog -f I getidblock.log >$ba.fulldump.log 45 #../src/readpstlog -f I getidblock.log >$ba.fulldump.log
46 46
48 } 48 }
49 49
50 50
51 51
52 val="valgrind --leak-check=full" 52 val="valgrind --leak-check=full"
53 #val='' 53 val=''
54 54
55 pushd .. 55 pushd ..
56 make || exit 56 make || exit
57 popd 57 popd
58
59 rm -rf output* *.err *.log
58 60
59 if [ "$1" == "dii" ]; then 61 if [ "$1" == "dii" ]; then
60 dodii 1 ams.pst 62 dodii 1 ams.pst
61 dodii 2 sample_64.pst 63 dodii 2 sample_64.pst
62 dodii 3 test.pst 64 dodii 3 test.pst
80 ##doldif 16 hourig2.pst 82 ##doldif 16 hourig2.pst
81 ##doldif 17 hourig3.pst 83 ##doldif 17 hourig3.pst
82 #doldif 18 test-mac.pst 84 #doldif 18 test-mac.pst
83 #doldif 19 harris.pst 85 #doldif 19 harris.pst
84 else 86 else
87 dopst 20 spam.pst
88 exit
85 dopst 1 ams.pst 89 dopst 1 ams.pst
86 exit
87 dopst 2 sample_64.pst 90 dopst 2 sample_64.pst
88 dopst 3 test.pst 91 dopst 3 test.pst
89 dopst 4 big_mail.pst 92 dopst 4 big_mail.pst
90 dopst 5 mbmg.archive.pst 93 dopst 5 mbmg.archive.pst
91 dopst 6 Single2003-read.pst 94 dopst 6 Single2003-read.pst