svn commit: samba r24693 - in branches/SAMBA_4_0/testprogs/blackbox: .

abartlet at samba.org abartlet at samba.org
Mon Aug 27 01:46:11 GMT 2007


Author: abartlet
Date: 2007-08-27 01:46:09 +0000 (Mon, 27 Aug 2007)
New Revision: 24693

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24693

Log:
Test search options in ldb blackbox testing.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/testprogs/blackbox/test_ldb.sh


Changeset:
Modified: branches/SAMBA_4_0/testprogs/blackbox/test_ldb.sh
===================================================================
--- branches/SAMBA_4_0/testprogs/blackbox/test_ldb.sh	2007-08-27 00:38:42 UTC (rev 24692)
+++ branches/SAMBA_4_0/testprogs/blackbox/test_ldb.sh	2007-08-27 01:46:09 UTC (rev 24693)
@@ -90,4 +90,13 @@
 echo "Attribute Scope Query test returned 0 items"
 failed=`expr $failed + 1`
 fi
+
+echo "Test Search Options Control"
+nentries=`bin/ldbsearch $options $CONFIGURATION -H $p://$SERVER --controls=search_options:1:2 '(objectclass=crossRef)' | grep crossRef | wc -l`
+if [ $nentries -lt 1 ]; then
+echo "Search Options Control Query test returned 0 items"
+failed=`expr $failed + 1`
+fi
+
+
 exit $failed



More information about the samba-cvs mailing list