Mercurial > libpst
comparison 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 |
comparison
equal
deleted
inserted
replaced
166:55d4f17a35f2 | 167:40e9de445038 |
---|---|
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 -S -cv -o output$n -d dumper $fn >$ba.err 2>&1 | 41 $val ../src/readpst -r -D -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 | 58 |
82 ##doldif 16 hourig2.pst | 82 ##doldif 16 hourig2.pst |
83 ##doldif 17 hourig3.pst | 83 ##doldif 17 hourig3.pst |
84 #doldif 18 test-mac.pst | 84 #doldif 18 test-mac.pst |
85 #doldif 19 harris.pst | 85 #doldif 19 harris.pst |
86 else | 86 else |
87 dopst 20 spam.pst | 87 dopst 11 flow.pst |
88 exit | 88 exit |
89 dopst 1 ams.pst | 89 dopst 1 ams.pst |
90 dopst 2 sample_64.pst | 90 dopst 2 sample_64.pst |
91 dopst 3 test.pst | 91 dopst 3 test.pst |
92 dopst 4 big_mail.pst | 92 dopst 4 big_mail.pst |
94 dopst 6 Single2003-read.pst | 94 dopst 6 Single2003-read.pst |
95 dopst 7 Single2003-unread.pst | 95 dopst 7 Single2003-unread.pst |
96 dopst 8 ol2k3high.pst | 96 dopst 8 ol2k3high.pst |
97 dopst 9 ol97high.pst | 97 dopst 9 ol97high.pst |
98 dopst 10 returned_message.pst | 98 dopst 10 returned_message.pst |
99 dopst 11 flow.pst | |
100 dopst 12 test-html.pst | 99 dopst 12 test-html.pst |
101 dopst 13 test-text.pst | 100 dopst 13 test-text.pst |
102 dopst 14 joe.romanowski.pst | 101 dopst 14 joe.romanowski.pst |
103 dopst 15 hourig1.pst | 102 dopst 15 hourig1.pst |
104 #dopst 16 hourig2.pst | 103 #dopst 16 hourig2.pst |
105 #dopst 17 hourig3.pst | 104 #dopst 17 hourig3.pst |
106 dopst 18 test-mac.pst | 105 dopst 18 test-mac.pst |
107 dopst 19 harris.pst | 106 dopst 19 harris.pst |
107 dopst 20 spam.pst | |
108 fi | 108 fi |
109 | 109 |
110 grep 'lost:' *err | grep -v 'lost: 0 ' | 110 grep 'lost:' *err | grep -v 'lost: 0 ' |
111 grep 'should have been' *err |