svn commit: samba r13355 - in
branches/SAMBA_4_0/source/script/tests: .
idra at samba.org
idra at samba.org
Sun Feb 5 20:57:15 GMT 2006
Author: idra
Date: 2006-02-05 20:57:15 +0000 (Sun, 05 Feb 2006)
New Revision: 13355
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13355
Log:
check controls are correctly exported
Modified:
branches/SAMBA_4_0/source/script/tests/test_ldap.sh
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_ldap.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_ldap.sh 2006-02-05 20:48:27 UTC (rev 13354)
+++ branches/SAMBA_4_0/source/script/tests/test_ldap.sh 2006-02-05 20:57:15 UTC (rev 13355)
@@ -44,6 +44,13 @@
failed=`expr $failed + 1`
fi
+ echo "Check rootDSE for Controls"
+ nentries=`bin/ldbsearch $options $CONFIGURATION -H $p://$SERVER -s base -b "" '(objectclass=*)' | grep -i supportedControl | wc -l`
+ if [ $nentries -lt 4 ]; then
+ echo "Should have found at least 4 entries"
+ failed=`expr $failed + 1`
+ fi
+
echo "Test Paged Results Control"
nentries=`bin/ldbsearch $options $CONFIGURATION -H $p://$SERVER --controls=paged_results:1:5 '(objectclass=user)' | grep sAMAccountName | wc -l`
if [ $nentries -lt 1 ]; then
More information about the samba-cvs
mailing list