summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/lib/ldb/tests/test-schema.sh3
-rwxr-xr-xsource4/lib/ldb/tests/test-sqlite3.sh3
-rwxr-xr-xsource4/lib/ldb/tests/test-tdb.sh3
3 files changed, 6 insertions, 3 deletions
diff --git a/source4/lib/ldb/tests/test-schema.sh b/source4/lib/ldb/tests/test-schema.sh
index a8af8a38e2..2f10fb45e2 100755
--- a/source4/lib/ldb/tests/test-schema.sh
+++ b/source4/lib/ldb/tests/test-schema.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-export LDB_URL="tdb://schema.ldb"
+LDB_URL="tdb://schema.ldb"
+export LDB_URL
rm -f schema.ldb
diff --git a/source4/lib/ldb/tests/test-sqlite3.sh b/source4/lib/ldb/tests/test-sqlite3.sh
index 7e0c96feaf..18e72024f3 100755
--- a/source4/lib/ldb/tests/test-sqlite3.sh
+++ b/source4/lib/ldb/tests/test-sqlite3.sh
@@ -1,7 +1,8 @@
#!/bin/sh
-export LDB_URL="sqlite:///var/tmp/test.ldb"
+LDB_URL="sqlite://test.ldb"
+export LDB_URL
rm -f sqltest.ldb
diff --git a/source4/lib/ldb/tests/test-tdb.sh b/source4/lib/ldb/tests/test-tdb.sh
index 936c448757..6899d98677 100755
--- a/source4/lib/ldb/tests/test-tdb.sh
+++ b/source4/lib/ldb/tests/test-tdb.sh
@@ -1,7 +1,8 @@
#!/bin/sh
-export LDB_URL="tdbtest.ldb"
+LDB_URL="tdbtest.ldb"
+export LDB_URL
PATH=bin:$PATH
export PATH