From 08e23b36cb2a7437257c399e390485f288c572a1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 17 Jun 2005 03:30:49 +0000 Subject: r7671: added ldap testing to the set of standard tests (This used to be commit dcdf44024aa93e7eca54247d9058904c6950fae7) --- source4/script/tests/selftest.sh | 1 + source4/script/tests/test_ldap.sh | 25 +++++++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) (limited to 'source4') diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index c4f8a5a5a9..9ffb283886 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -85,6 +85,7 @@ START=`date` sleep 4 failed=0 + $SRCDIR/script/tests/test_ldap.sh localhost || failed=`expr $failed + $?` $SRCDIR/script/tests/test_rpc.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || failed=`expr $failed + $?` $SRCDIR/script/tests/test_binding_string.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || failed=`expr $failed + $?` $SRCDIR/script/tests/test_echo.sh localhost $USERNAME $PASSWORD $DOMAIN $ADDARG || failed=`expr $failed + $?` diff --git a/source4/script/tests/test_ldap.sh b/source4/script/tests/test_ldap.sh index 84f1272631..43c251d7e7 100755 --- a/source4/script/tests/test_ldap.sh +++ b/source4/script/tests/test_ldap.sh @@ -1,23 +1,28 @@ #!/bin/sh +# test some simple LDAP and CLDAP operations + +if [ $# -lt 1 ]; then +cat <