mirror of
https://github.com/samba-team/samba.git
synced 2025-11-28 12:23:49 +03:00
- allow ldb to be built in a separate build directory, using:
/some/path/to/ldb/configure
make
this will make it much easier to put ldb in the build farm without
interfering with the build farm builds of tdb and talloc
25 lines
359 B
Bash
Executable File
25 lines
359 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -n "$TEST_DATA_PREFIX" ]; then
|
|
LDB_URL="$TEST_DATA_PREFIX/tdbtest.ldb"
|
|
else
|
|
LDB_URL="tdbtest.ldb"
|
|
fi
|
|
export LDB_URL
|
|
|
|
PATH=bin:$PATH
|
|
export PATH
|
|
|
|
rm -f $LDB_URL*
|
|
|
|
if [ -z "$LDBDIR" ]; then
|
|
LDBDIR=`dirname $0`/..
|
|
export LDBDIR
|
|
fi
|
|
|
|
. $LDBDIR/tests/test-generic.sh
|
|
|
|
. $LDBDIR/tests/test-extended.sh
|
|
|
|
. $LDBDIR/tests/test-tdb-features.sh
|