summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-10-23 00:17:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:36 -0500
commita32689315916b184ad4b9f01260e07e6f3e2b9bc (patch)
tree5784a28e2a89bfe2a67153868c0ead08abe7035c /source4/lib/ldb/tests
parent766193da3f7143005c8a0f01370661f0afd096ad (diff)
downloadsamba-a32689315916b184ad4b9f01260e07e6f3e2b9bc.tar.gz
samba-a32689315916b184ad4b9f01260e07e6f3e2b9bc.tar.bz2
samba-a32689315916b184ad4b9f01260e07e6f3e2b9bc.zip
r19461: Make sqlite3 work again (semi-async)
Still not all tests pass (This used to be commit cbfc7305ad594c672a16a7f6f82758d17eb5ba62)
Diffstat (limited to 'source4/lib/ldb/tests')
-rwxr-xr-xsource4/lib/ldb/tests/test-sqlite3.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/source4/lib/ldb/tests/test-sqlite3.sh b/source4/lib/ldb/tests/test-sqlite3.sh
index a51ae637dc..0cef318d98 100755
--- a/source4/lib/ldb/tests/test-sqlite3.sh
+++ b/source4/lib/ldb/tests/test-sqlite3.sh
@@ -1,20 +1,23 @@
#!/bin/sh
-LDB_URL="sqlite://sqltest.ldb"
+LDB_URL="sqlite3://sqltest.ldb"
export LDB_URL
-PATH=bin:$PATH
-export PATH
-
rm -f sqltest.ldb
if [ -z "$LDBDIR" ]; then
- LDBDIR="."
+ LDBDIR=`dirname $0`/..
export LDBDIR
fi
-. $LDBDIR/tests/test-generic.sh
+PATH=bin:$PATH
+export PATH
+
+LDB_SPECIALS=0
+export LDB_SPECIALS
+
+$LDBDIR/tests/test-generic.sh
#. $LDBDIR/tests/test-extended.sh