diff options
author | jbj <devnull@localhost> | 2003-12-15 21:42:09 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-12-15 21:42:09 +0000 |
commit | 8960e3895f7af91126465368dff8fbb36ab4e853 (patch) | |
tree | 3c515e39dde0e88edeb806ea87d08524ba25c761 /db/test/scr020 | |
parent | 752cac72e220dcad4e6fce39508e714e59e3e0a1 (diff) | |
download | rpm-8960e3895f7af91126465368dff8fbb36ab4e853.tar.gz rpm-8960e3895f7af91126465368dff8fbb36ab4e853.tar.bz2 rpm-8960e3895f7af91126465368dff8fbb36ab4e853.zip |
- upgrade to db-4.2.52.
CVS patchset: 6972
CVS date: 2003/12/15 21:42:09
Diffstat (limited to 'db/test/scr020')
-rw-r--r-- | db/test/scr020/chk.inc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/db/test/scr020/chk.inc b/db/test/scr020/chk.inc index 258bf3c4d..24c1a47c1 100644 --- a/db/test/scr020/chk.inc +++ b/db/test/scr020/chk.inc @@ -1,6 +1,6 @@ #!/bin/sh - # -# Id: chk.inc,v 1.1 2002/02/10 17:14:33 bostic Exp +# $Id: chk.inc,v 1.2 2003/08/01 16:49:29 bostic Exp $ # # Check for inclusion of db_config.h after "const" or other includes. @@ -16,12 +16,13 @@ t1=__1 t2=__2 (cd $d && find . -name '*.[chys]' -o -name '*.cpp' | - xargs egrep -l '#include.*db_config.h') > $t1 + xargs egrep -l '#include.*db_config.h') | tee /tmp/o | + sed -e '/dbdemo.c$/d' \ + -e '/db_java_wrap.c$/d' > $t1 -:> $t2 -for i in `cat $t1`; do - egrep -w 'db_config.h|const' /dev/null $d/$i | head -1 >> $t2 -done +(for i in `cat $t1`; do + egrep -w 'db_config.h|const' /dev/null $d/$i | head -1 +done) > $t2 if egrep const $t2 > /dev/null; then echo 'FAIL: found const before include of db_config.h' |