summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/test-ldap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tests/test-ldap.sh')
-rwxr-xr-xsource4/lib/ldb/tests/test-ldap.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/lib/ldb/tests/test-ldap.sh b/source4/lib/ldb/tests/test-ldap.sh
index e2ce81c99f..63e93e0fb0 100755
--- a/source4/lib/ldb/tests/test-ldap.sh
+++ b/source4/lib/ldb/tests/test-ldap.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-export PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
+PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
+export PATH
SCHEMA_NEEDED="core nis cosine inetorgperson openldap"
# setup needed schema files
@@ -29,7 +30,8 @@ if [ -z "$LDBDIR" ]; then
export LDBDIR
fi
-export LDB_URL=`$LDBDIR/tests/ldapi_url.sh`
+LDB_URL=`$LDBDIR/tests/ldapi_url.sh`
+export LDB_URL
PATH=bin:$PATH
export PATH
@@ -37,5 +39,6 @@ export PATH
. $LDBDIR/tests/init_slapd.sh
. $LDBDIR/tests/start_slapd.sh
-export LDB_SPECIALS=0
+LDB_SPECIALS=0
+export LDB_SPECIALS
. $LDBDIR/tests/test-generic.sh