Mercurial > libpst
comparison regression/regression-tests.bash @ 176:ac6e22c8a9cf
build separate libpst, libpst-libs, libpst-devel rpms.
remove many functions from the interface by making them static.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 08 Apr 2009 14:13:06 -0700 |
parents | c1a2fd06ffe6 |
children | 0a4f7ecd7452 |
comparison
equal
deleted
inserted
replaced
175:03dbd449290f | 176:ac6e22c8a9cf |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 | |
4 function consistency() | |
5 { | |
6 # check source and xml documentation for consistency | |
7 ( | |
8 cd .. # back to top level of project | |
9 f1=/tmp/f1$$ | |
10 f2=/tmp/f2$$ | |
11 grep 'case 0x' src/libpst.c | awk '{print $2}' | tr A-Z a-z | sed -e 's/://g' | sort >$f1 | |
12 grep '^0x' xml/libpst.in | awk '{print $1}' | (for i in {1..19}; do read a; done; cat) | sort >$f2 | |
13 diff $f1 $f2 | |
14 less $f1 | |
15 rm -f $f1 $f2 | |
16 ) | |
17 } | |
3 | 18 |
4 function dodii() | 19 function dodii() |
5 { | 20 { |
6 n="$1" | 21 n="$1" |
7 fn="$2" | 22 fn="$2" |