Mercurial > libpst
comparison regression/regression-tests.bash @ 93:cb14583c119a
iconv changes for Mac
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 28 Aug 2008 15:25:53 -0700 |
parents | 56fa05fd5271 |
children | 997cf1373f9e |
comparison
equal
deleted
inserted
replaced
92:93ce964a3f92 | 93:cb14583c119a |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 val="valgrind --leak-check=full" | 3 val="valgrind --leak-check=full" |
4 val='' | 4 val='' |
5 | 5 |
6 for i in {1..12}; do | 6 pushd .. |
7 make || exit | |
8 popd | |
9 | |
10 for i in {1..13}; do | |
7 rm -rf output$i | 11 rm -rf output$i |
8 mkdir output$i | 12 mkdir output$i |
9 done | 13 done |
10 | 14 |
11 if [ "$1" == "dii" ]; then | 15 if [ "$1" == "dii" ]; then |
25 | 29 |
26 $val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err 2>&1 | 30 $val ../src/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' ams.pst >ams.err 2>&1 |
27 $val ../src/readpst -cv -o output1 ams.pst >out1.err 2>&1 | 31 $val ../src/readpst -cv -o output1 ams.pst >out1.err 2>&1 |
28 $val ../src/readpst -cl -r -o output2 ams.pst >out2.err 2>&1 | 32 $val ../src/readpst -cl -r -o output2 ams.pst >out2.err 2>&1 |
29 $val ../src/readpst -S -o output3 ams.pst >out3.err 2>&1 | 33 $val ../src/readpst -S -o output3 ams.pst >out3.err 2>&1 |
30 $val ../src/readpst -M -o output4 ams.pst >out4.err 2>&1 | 34 $val ../src/readpst -M -o output4 -d dumper ams.pst >out4.err 2>&1 |
35 ../src/readpstlog -f I dumper >ams.log | |
31 | 36 |
32 $val ../src/readpst -o output5 -d dumper mbmg.archive.pst >out5.err 2>&1 | 37 $val ../src/readpst -o output5 -d dumper mbmg.archive.pst >out5.err 2>&1 |
33 ../src/readpstlog -f I dumper >mbmg.archive.log | 38 ../src/readpstlog -f I dumper >mbmg.archive.log |
34 | 39 |
35 $val ../src/readpst -o output6 -d dumper test.pst >out6.err 2>&1 | 40 $val ../src/readpst -o output6 -d dumper test.pst >out6.err 2>&1 |
51 ../src/readpstlog -f I dumper >ol2k3high.log | 56 ../src/readpstlog -f I dumper >ol2k3high.log |
52 | 57 |
53 $val ../src/readpst -cv -o output12 -d dumper ol97high.pst >out12.err 2>&1 | 58 $val ../src/readpst -cv -o output12 -d dumper ol97high.pst >out12.err 2>&1 |
54 ../src/readpstlog -f I dumper >ol97high.log | 59 ../src/readpstlog -f I dumper >ol97high.log |
55 | 60 |
56 $val ../src/lspst -d dumper ams.pst >out13.err 2>&1 | 61 $val ../src/readpst -cv -o output13 -d dumper returned_message.pst >out13.err 2>&1 |
62 ../src/readpstlog -f I dumper >returned_message.log | |
63 | |
64 $val ../src/lspst -d dumper ams.pst >out14.err 2>&1 | |
57 ../src/readpstlog -f I dumper >ams.log | 65 ../src/readpstlog -f I dumper >ams.log |
58 | 66 |
59 rm -f dumper | 67 rm -f dumper |
60 | 68 |