1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00
Files
samba-mirror/source/lib/ldb/tests/test-tdb.sh
Andrew Tridgell 9f29cccbc1 r8485: - be friendly to shells other than bash
- don't use /tmp in test paths, as that opens us to symlink attacks
2007-10-10 13:23:08 -05:00

24 lines
304 B
Bash
Executable File

#!/bin/sh
LDB_URL="tdbtest.ldb"
export LDB_URL
PATH=bin:$PATH
export PATH
rm -f tdbtest.ldb
rm -f tdbtest.ldb.1
rm -f tdbtest.ldb.2
if [ -z "$LDBDIR" ]; then
LDBDIR="."
export LDBDIR
fi
. $LDBDIR/tests/test-generic.sh
. $LDBDIR/tests/test-extended.sh
. $LDBDIR/tests/test-tdb-features.sh