From 2b7d93265635f2e4cfc8b72f73a932d44821d371 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 10 Jan 2006 14:27:48 +0000 Subject: r12828: add a test to check white spaces comparison (This used to be commit ad189553f420d70c4a726cf118e1273ea053f4d6) --- source4/lib/ldb/tests/init.ldif | 9 +++++++++ source4/lib/ldb/tests/test-generic.sh | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'source4/lib/ldb/tests') 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)' -- cgit