summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-01-10 14:27:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:03 -0500
commit2b7d93265635f2e4cfc8b72f73a932d44821d371 (patch)
tree0bee4fe89f95b0361479a7db263c940f8db83a44 /source4/lib/ldb
parent428ef08930e06de31919b75ff12b9147aada8a10 (diff)
downloadsamba-2b7d93265635f2e4cfc8b72f73a932d44821d371.tar.gz
samba-2b7d93265635f2e4cfc8b72f73a932d44821d371.tar.bz2
samba-2b7d93265635f2e4cfc8b72f73a932d44821d371.zip
r12828: add a test to check white spaces comparison
(This used to be commit ad189553f420d70c4a726cf118e1273ea053f4d6)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/tests/init.ldif9
-rwxr-xr-xsource4/lib/ldb/tests/test-generic.sh2
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)'