git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bae97f1
)
r24693: Test search options in ldb blackbox testing.
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 27 Aug 2007 01:46:09 +0000
(
01:46
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:02:47 +0000
(15:02 -0500)
Andrew Bartlett
(This used to be commit
9f45b5553a53d2e8a1c2643bf58fb90db8217b66
)
testprogs/blackbox/test_ldb.sh
patch
|
blob
|
history
diff --git
a/testprogs/blackbox/test_ldb.sh
b/testprogs/blackbox/test_ldb.sh
index 8a019e18b7933652bec8d6911533a2e638d045f4..fd925fc99b10668d583607eb2430a883cbf23159 100755
(executable)
--- a/
testprogs/blackbox/test_ldb.sh
+++ b/
testprogs/blackbox/test_ldb.sh
@@
-90,4
+90,13
@@
if [ $nentries -lt 1 ]; then
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