5 if [ -n "$TEST_DATA_PREFIX" ]; then
6 LDB_URL
="$TEST_DATA_PREFIX/tdbtest.ldb"
7 PYDESTDIR
="$TEST_DATA_PREFIX"
18 if [ -z "$LDBDIR" ]; then
19 LDBDIR
=`dirname $0`/..
27 cat <<EOF | $VALGRIND ldbadd || exit 1
32 $VALGRIND ldbadd
$LDBDIR/tests
/init.ldif ||
exit 1
34 .
$LDBDIR/tests
/test-generic.sh
36 .
$LDBDIR/tests
/test-extended.sh
38 .
$LDBDIR/tests
/test-tdb-features.sh
40 .
$LDBDIR/tests
/test-controls.sh
42 which python
>/dev
/null
2>&1
44 SELFTEST_PREFIX
=$PYDESTDIR PYTHONPATH
=$BINDIR/python python
$LDBDIR/tests
/python
/api.py