summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-09 23:34:07 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-09 23:36:11 +0200
commitb253385611ac4934bb46390ef519c547bba87eb3 (patch)
treed839f866ff4c43f34ef67e6fffa67e4e26aceaa7 /source4/selftest
parent5eedaaea43a7f141960cfffc62116655f1117de8 (diff)
downloadsamba-b253385611ac4934bb46390ef519c547bba87eb3.tar.gz
samba-b253385611ac4934bb46390ef519c547bba87eb3.tar.bz2
samba-b253385611ac4934bb46390ef519c547bba87eb3.zip
s4:LDB - fix up "LDAPI" test
Set the "options" environment variable in a deterministic manner.
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh
index 1fd9d38cbe..d4f7e47290 100755
--- a/source4/selftest/tests.sh
+++ b/source4/selftest/tests.sh
@@ -126,7 +126,9 @@ if grep ENABLE_GNUTLS.1 $CONFIG_H > /dev/null; then
plantestsuite "ldb.ldaps with options $options" dc $bbdir/test_ldb.sh ldaps \$SERVER_IP $options
done
fi
-plantestsuite "ldb.ldapi with options $options" dc $bbdir/test_ldb.sh ldapi \$PREFIX_ABS/dc/private/ldapi $options
+for options in "" "-U\$USERNAME%\$PASSWORD"; do
+ plantestsuite "ldb.ldapi with options $options" dc $bbdir/test_ldb.sh ldapi \$PREFIX_ABS/dc/private/ldapi $options
+done
for t in `$smb4torture --list | grep "^LDAP-"`
do
plansmbtorturetestsuite "$t" dc "-U\$USERNAME%\$PASSWORD" //\$SERVER_IP/_none_