Import BSDDB 4.7.25 (as of svn r89086)

This commit is contained in:
Zachary Ware
2017-09-04 13:40:25 -05:00
parent 4b29e0458f
commit 8f590873d0
4781 changed files with 2241032 additions and 6 deletions

48
test/scr011/chk.tags Normal file
View File

@@ -0,0 +1,48 @@
#!/bin/sh -
#
# $Id: chk.tags,v 12.6 2007/07/06 18:44:33 bostic Exp $
#
# Check to make sure we don't need any more symbolic links to tags files.
d=../..
# Test must be run from the top-level directory, not from a test directory.
[ -f $d/LICENSE ] || {
echo 'FAIL: cannot find source distribution directory.'
exit 1
}
t1=__1
t2=__2
(cd $d && ls -F | egrep / | sort |
sed -e 's/\///' \
-e '/^CVS$/d' \
-e '/^build_brew$/d' \
-e '/^build_s60$/d' \
-e '/^build_vxworks$/d' \
-e '/^build_wince$/d' \
-e '/^build_windows$/d' \
-e '/^docs$/d' \
-e '/^docs_book$/d' \
-e '/^docs_src$/d' \
-e '/^examples_java$/d' \
-e '/^java$/d' \
-e '/^mod_db4$/d' \
-e '/^perl$/d' \
-e '/^php_db4$/d' \
-e '/^test$/d' \
-e '/^test_cxx$/d' \
-e '/^test_micro$/d' \
-e '/^test_purify$/d' \
-e '/^test_thread$/d' \
-e '/^test_vxworks$/d') > $t1
(cd $d && ls */tags | sed 's/\/tags$//' | sort) > $t2
if diff $t1 $t2 > /dev/null; then
exit 0
else
echo "<<< source tree >>> tags files"
diff $t1 $t2
exit 1
fi