summaryrefslogtreecommitdiff
path: root/lib/ldb/tests/test-tdb-features.sh
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-12-29 21:48:46 -0800
committerAndrew Bartlett <abartlet@samba.org>2013-02-08 15:06:39 +1100
commit13b481594585cdb079dcf9b8cf892f5094f44a16 (patch)
tree2ce54882c30438d6bb26d14a08c6a4312e970437 /lib/ldb/tests/test-tdb-features.sh
parent057896a090870ecec56ad0d2f960e55cef561e9e (diff)
downloadsamba-13b481594585cdb079dcf9b8cf892f5094f44a16.tar.gz
samba-13b481594585cdb079dcf9b8cf892f5094f44a16.tar.bz2
samba-13b481594585cdb079dcf9b8cf892f5094f44a16.zip
ldb: Add more tests related to onelevel search
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/ldb/tests/test-tdb-features.sh')
-rw-r--r--lib/ldb/tests/test-tdb-features.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ldb/tests/test-tdb-features.sh b/lib/ldb/tests/test-tdb-features.sh
index 14437ffb9a..59e61ee5d2 100644
--- a/lib/ldb/tests/test-tdb-features.sh
+++ b/lib/ldb/tests/test-tdb-features.sh
@@ -154,6 +154,11 @@ dn: cn=three,cn=t1,cn=TEST
objectClass: oneclass
cn: three
test: one
+
+dn: cn=four,cn=three,cn=t1,cn=TEST
+objectClass: oneclass
+cn: four
+test: one
EOF
checkone 3 "cn=t1,cn=TEST" '(test=one)'
checkone 1 "cn=t1,cn=TEST" '(cn=two)'