comparison regression/regression-tests.bash @ 110:7133b39975f7 stable-0-6-22

patch from David Cuadrado to process emails with type PST_TYPE_OTHER base64_encode_multiple() may insert newline, needs larger malloc subject lines shorter than 2 bytes could segfault
author Carl Byington <carl@five-ten-sg.com>
date Fri, 28 Nov 2008 11:36:53 -0800
parents 1b2a4fac1303
children ed2a260bbb98
comparison
equal deleted inserted replaced
109:7947334d53ad 110:7133b39975f7
19 fn="$2" 19 fn="$2"
20 rm -rf output$n 20 rm -rf output$n
21 mkdir output$n 21 mkdir output$n
22 $val ../src/readpst -cv -o output$n -d dumper $fn >$fn.pst.err 2>&1 22 $val ../src/readpst -cv -o output$n -d dumper $fn >$fn.pst.err 2>&1
23 ../src/readpstlog -f I dumper >$fn.log 23 ../src/readpstlog -f I dumper >$fn.log
24 $val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' -o $fn >$fn.ldif.err 2>&1 24 #$val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' -o $fn >$fn.ldif.err 2>&1
25 $val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'inetOrgPerson' $fn >$fn.ldif2.err 2>&1 25 #$val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'inetOrgPerson' $fn >$fn.ldif2.err 2>&1
26 rm -f dumper 26 rm -f dumper
27 } 27 }
28 28
29 29
30 30
31 val="valgrind --leak-check=full" 31 val="valgrind --leak-check=full"
32 val='' 32 #val=''
33 33
34 pushd .. 34 pushd ..
35 make || exit 35 make || exit
36 popd 36 popd
37 37
38 if [ "$1" == "dii" ]; then 38 if [ "$1" == "dii" ]; then
39 dodii 1 ams.pst 39 dodii 1 ams.pst
40 dodii 2 sample_64.pst 40 dodii 2 sample_64.pst
41 dodii 3 test.pst 41 dodii 3 test.pst
42 dodii 4 big_mail.pst 42 dodii 4 big_mail.pst
43 elif [ "$1" == "flow" ]; then
44 dopst 11 flow.pst
43 else 45 else
44 dopst 1 ams.pst 46 dopst 1 ams.pst
45 #dopst 2 sample_64.pst 47 #dopst 2 sample_64.pst
46 #dopst 3 test.pst 48 #dopst 3 test.pst
47 #dopst 4 big_mail.pst 49 #dopst 4 big_mail.pst
49 #dopst 6 Single2003-read.pst 51 #dopst 6 Single2003-read.pst
50 #dopst 7 Single2003-unread.pst 52 #dopst 7 Single2003-unread.pst
51 #dopst 8 ol2k3high.pst 53 #dopst 8 ol2k3high.pst
52 #dopst 9 ol97high.pst 54 #dopst 9 ol97high.pst
53 #dopst 10 returned_message.pst 55 #dopst 10 returned_message.pst
56 #dopst 11 flow.pst
54 fi 57 fi
55 58