diff options
Diffstat (limited to 'source4/lib/ldb/tests')
-rw-r--r-- | source4/lib/ldb/tests/init.ldif | 9 | ||||
-rwxr-xr-x | source4/lib/ldb/tests/test-generic.sh | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/init.ldif b/source4/lib/ldb/tests/init.ldif index 9d89ec38ed..2e0b83c769 100644 --- a/source4/lib/ldb/tests/init.ldif +++ b/source4/lib/ldb/tests/init.ldif @@ -29,3 +29,12 @@ ou: People ou: Ldb Test uidNumber: 0 gidNumber: 0 + +dn: ou=LdbTspace,ou=People,o=University of Michigan,c=TEST +objectclass: organizationalUnit +objectclass: extensibleObject +ou: People +ou: LdbTspace +description: test white space removal in comparisons +uidNumber: 0 +gidNumber: 0 diff --git a/source4/lib/ldb/tests/test-generic.sh b/source4/lib/ldb/tests/test-generic.sh index 9060fe0f54..b7a801c6b7 100755 --- a/source4/lib/ldb/tests/test-generic.sh +++ b/source4/lib/ldb/tests/test-generic.sh @@ -99,4 +99,4 @@ checkcount 0 'one' '' '(uid=uham)' checkcount 1 'base' 'cn=Hampster Ursula,ou=Alumni Association,ou=People,o=University of Michigan,c=TEST' '(uid=uham)' checkcount 1 'one' 'ou=Alumni Association,ou=People,o=University of Michigan,c=TEST' '(uid=uham)' - +checkcount 1 'one' 'ou=People,o=University of Michigan,c=TEST' '(ou=ldb test)' |