diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2016-12-17 21:28:53 -0800 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2016-12-17 21:28:53 -0800 |
commit | 54df2afaa61c6a03cbb4a33c9b90fa572b6d07b8 (patch) | |
tree | 18147b92b969d25ffbe61935fb63035cac820dd0 /db-4.8.30/test/scr011 |
Berkeley DB 4.8 with rust build script for linux.
Diffstat (limited to 'db-4.8.30/test/scr011')
-rw-r--r-- | db-4.8.30/test/scr011/chk.tags | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/db-4.8.30/test/scr011/chk.tags b/db-4.8.30/test/scr011/chk.tags new file mode 100644 index 0000000..9c95702 --- /dev/null +++ b/db-4.8.30/test/scr011/chk.tags @@ -0,0 +1,54 @@ +#!/bin/sh - +# +# $Id$ +# +# 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 +} + +# We are dropping the tags file for 4.8 - test is invalid +# for now exit out +echo "<<< test is no longer valid >>>" +exit 0 + + +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 |