svn commit: samba r12777 - in
branches/SAMBA_4_0/source/lib/ldb/tests: .
metze at samba.org
metze at samba.org
Sun Jan 8 20:47:48 GMT 2006
Author: metze
Date: 2006-01-08 20:47:48 +0000 (Sun, 08 Jan 2006)
New Revision: 12777
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12777
Log:
use TEST_DATA_PREFIX if available
metze
Modified:
branches/SAMBA_4_0/source/lib/ldb/tests/test-tdb.sh
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-tdb.sh
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tests/test-tdb.sh 2006-01-08 20:20:18 UTC (rev 12776)
+++ branches/SAMBA_4_0/source/lib/ldb/tests/test-tdb.sh 2006-01-08 20:47:48 UTC (rev 12777)
@@ -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="."
More information about the samba-cvs
mailing list