s4:LDB - fix up "LDAPI" test
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 9 Apr 2010 21:34:07 +0000 (23:34 +0200)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Fri, 9 Apr 2010 21:36:11 +0000 (23:36 +0200)
Set the "options" environment variable in a deterministic manner.

source4/selftest/tests.sh

index 1fd9d38cbe449f58ae2cb965b433444754f0599d..d4f7e47290fd21bf75e797e7bd5400fd3314f4bc 100755 (executable)
@@ -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_