From 13b481594585cdb079dcf9b8cf892f5094f44a16 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sat, 29 Dec 2012 21:48:46 -0800 Subject: ldb: Add more tests related to onelevel search Reviewed-by: Andrew Bartlett --- lib/ldb/tests/test-tdb-features.sh | 5 +++++ lib/ldb/tests/test.ldif | 9 +++++++++ 2 files changed, 14 insertions(+) (limited to 'lib') 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)' diff --git a/lib/ldb/tests/test.ldif b/lib/ldb/tests/test.ldif index fd37f0037e..d45cb9fb85 100644 --- a/lib/ldb/tests/test.ldif +++ b/lib/ldb/tests/test.ldif @@ -195,6 +195,15 @@ description: All Alumni Assoc Staff cn: Alumni Assoc Staff objectclass: groupofnames +dn: cn=Finance, cn=Alumni Assoc Staff,ou=Groups,o=University of Michigan,c=TEST +member: cn=Manager,o=University of Michigan,c=TEST +member: cn=Ursula Hampster,ou=Alumni Association,ou=People,o=University of Mic + higan,c=TEST +owner: cn=Manager,o=University of Michigan,c=TEST +description: Finance group +cn: Finance +objectclass: groupofnames + dn: ou=Alumni Association,ou=People,o=University of Michigan,c=TEST objectclass: organizationalUnit ou: Alumni Association -- cgit