1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

r12777: use TEST_DATA_PREFIX if available

metze
(This used to be commit 7e702939faf70d0c02fa71b315043795bc4a1d84)
This commit is contained in:
Stefan Metzmacher 2006-01-08 20:47:48 +00:00 committed by Gerald (Jerry) Carter
parent d796373895
commit 7fcf10609b

View File

@ -1,15 +1,16 @@
#!/bin/sh
LDB_URL="tdbtest.ldb"
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 tdbtest.ldb
rm -f tdbtest.ldb.1
rm -f tdbtest.ldb.2
rm -f $LDB_URL*
if [ -z "$LDBDIR" ]; then
LDBDIR="."