mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
add concurrency test for back-meta; cleanup previous commit
This commit is contained in:
parent
c3fd851a59
commit
42b425bc44
428
tests/data/metaconcurrency.out
Normal file
428
tests/data/metaconcurrency.out
Normal file
@ -0,0 +1,428 @@
|
|||||||
|
dn: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
member: cn=Manager,o=Example,c=US
|
||||||
|
member: cn=Barbara Jensen,ou=Information Technology Division,ou=People,o=Examp
|
||||||
|
le,c=US
|
||||||
|
member: cn=Jane Doe,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=John Doe,ou=Information Technology Division,ou=People,o=Example,c=U
|
||||||
|
S
|
||||||
|
member: cn=Mark Elliot,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=James A Jones 1,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=James A Jones 2,ou=Information Technology Division,ou=People,o=Exam
|
||||||
|
ple,c=US
|
||||||
|
member: cn=Jennifer Smith,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=Dorothy Stevens,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=Ursula Hampster,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example
|
||||||
|
,c=US
|
||||||
|
owner: cn=Manager,o=Example,c=US
|
||||||
|
cn: All Staff
|
||||||
|
description: Everyone in the sample data
|
||||||
|
objectClass: groupOfNames
|
||||||
|
|
||||||
|
dn: cn=Alumni Assoc Staff,ou=Groups,o=Example,c=US
|
||||||
|
member: cn=Manager,o=Example,c=US
|
||||||
|
member: cn=Dorothy Stevens,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=James A Jones 1,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=Jane Doe,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=Jennifer Smith,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=Mark Elliot,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
member: cn=Ursula Hampster,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
owner: cn=Manager,o=Example,c=US
|
||||||
|
description: All Alumni Assoc Staff
|
||||||
|
cn: Alumni Assoc Staff
|
||||||
|
objectClass: groupOfNames
|
||||||
|
|
||||||
|
dn: ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
objectClass: organizationalUnit
|
||||||
|
ou: Alumni Association
|
||||||
|
|
||||||
|
dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,o=Example,c
|
||||||
|
=US
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: Barbara Jensen
|
||||||
|
cn: Babs Jensen
|
||||||
|
sn:: IEplbnNlbiA=
|
||||||
|
uid: bjensen
|
||||||
|
title: Mythical Manager, Research Systems
|
||||||
|
postalAddress: ITD Prod Dev & Deployment $ 535 W. William St. Room 4212 $ Anyt
|
||||||
|
own, MI 48103-4943
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
userPassword:: YmplbnNlbg==
|
||||||
|
mail: bjensen@mailgw.example.com
|
||||||
|
homePostalAddress: 123 Wesley $ Anytown, MI 48103
|
||||||
|
description: Mythical manager of the rsdd unix project
|
||||||
|
drink: water
|
||||||
|
homePhone: +1 313 555 2333
|
||||||
|
pager: +1 313 555 3233
|
||||||
|
facsimileTelephoneNumber: +1 313 555 2274
|
||||||
|
telephoneNumber: +1 313 555 9022
|
||||||
|
|
||||||
|
dn: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=U
|
||||||
|
S
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: Bjorn Jensen
|
||||||
|
cn: Biiff Jensen
|
||||||
|
sn: Jensen
|
||||||
|
uid: bjorn
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
userPassword:: Ympvcm4=
|
||||||
|
homePostalAddress: 19923 Seven Mile Rd. $ South Lyon, MI 49999
|
||||||
|
drink: Iced Tea
|
||||||
|
description: Hiker, biker
|
||||||
|
title: Director, Embedded Systems
|
||||||
|
postalAddress: Info Tech Division $ 535 W. William St. $ Anytown, MI 48103
|
||||||
|
mail: bjorn@mailgw.example.com
|
||||||
|
homePhone: +1 313 555 5444
|
||||||
|
pager: +1 313 555 4474
|
||||||
|
facsimileTelephoneNumber: +1 313 555 2177
|
||||||
|
telephoneNumber: +1 313 555 0355
|
||||||
|
|
||||||
|
dn: cn=Dan Aykroyd,ou=Meta,o=Example,c=US
|
||||||
|
objectClass: inetOrgPerson
|
||||||
|
cn: Dan Aykroyd
|
||||||
|
sn: Aykroyd
|
||||||
|
userPassword:: ZWx3b29k
|
||||||
|
description: Elwood Blues
|
||||||
|
|
||||||
|
dn: cn=Dorothy Stevens,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: Dorothy Stevens
|
||||||
|
cn: Dot Stevens
|
||||||
|
sn: Stevens
|
||||||
|
uid: dots
|
||||||
|
title: Secretary, UM Alumni Association
|
||||||
|
postalAddress: Alumni Association $ 111 Maple St $ Anytown, MI 48109
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
drink: Lemonade
|
||||||
|
homePostalAddress: 377 White St. Apt. 3 $ Anytown, MI 48104
|
||||||
|
description: Very tall
|
||||||
|
facsimileTelephoneNumber: +1 313 555 3223
|
||||||
|
telephoneNumber: +1 313 555 3664
|
||||||
|
mail: dots@mail.alumni.example.com
|
||||||
|
homePhone: +1 313 555 0454
|
||||||
|
|
||||||
|
dn: o=Example,c=US
|
||||||
|
objectClass: top
|
||||||
|
objectClass: organization
|
||||||
|
objectClass: domainRelatedObject
|
||||||
|
objectClass: dcObject
|
||||||
|
dc: example
|
||||||
|
l: Anytown, Michigan
|
||||||
|
st: Michigan
|
||||||
|
o: Example, Inc.
|
||||||
|
o: EX
|
||||||
|
o: Ex.
|
||||||
|
description: The Example, Inc. at Anytown
|
||||||
|
postalAddress: Example, Inc. $ 535 W. William St. $ Anytown, MI 48109 $ US
|
||||||
|
telephoneNumber: +1 313 555 1817
|
||||||
|
associatedDomain: example.com
|
||||||
|
|
||||||
|
dn: ou=Groups,o=Example,c=US
|
||||||
|
objectClass: organizationalUnit
|
||||||
|
ou: Groups
|
||||||
|
|
||||||
|
dn: ou=Information Technology Division,ou=People,o=Example,c=US
|
||||||
|
objectClass: organizationalUnit
|
||||||
|
ou: Information Technology Division
|
||||||
|
description:: aMODwoPDgsKCw4PCgsOCwotFVlZQw4PCg8OCwoPDg8KCw4LCv0zDg8KDw4LCgsOD
|
||||||
|
woLDgsKKT8ODwoPDgsKDw4PCgsOCwqs6w4PCg8OCwoLDg8KCw4LCjUQkw4PCg8OCwoLDg8KCw4LCi
|
||||||
|
01QUcODwoPDgsKDw4PCgsOCwr/Dg8KDw4LCg8ODwoLDgsKMw4PCg8OCwoLDg8KCw4LCik/Dg8KDw4
|
||||||
|
LCgsODwoLDgsKLRCQoZitEJMODwoPDgsKCw4PCgsOCwrfDg8KDw4LCg8ODwoLDgsKIw4PCg8OCwoP
|
||||||
|
Dg8KCw4LCgcODwoPDgsKDw4PCgsOCwqHDg8KDw4LCgsODwoLDgsKLRCQkZitEJMODwoPDgsKCw4PC
|
||||||
|
gsOCwrfDg8KDw4LCg8ODwoLDgsKQw4PCg8OCwoPDg8KCw4LCisODwoPDgsKCw4PCgsOCwotFUVZqU
|
||||||
|
MODwoPDgsKDw4PCgsOCwr/Dg8KDw4LCg8ODwoLDgsKAw4PCg8OCwoLDg8KCw4LCik85dCTDg8KDw4
|
||||||
|
LCgsODwoLDgsKFQ8ODwoPDgsKDw4PCgsOCwr/Dg8KDw4LCg8ODwoLDgsK/w4PCg8OCwoPDg8KCw4L
|
||||||
|
Cvzl0JMODwoPDgsKCw4PCgsOCwoXDg8KD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OCwoPDg8KCw4LCq0vDg8KDw4LCgsODwoLDgsKFw4PCg8OCwoPDg8KCw4L
|
||||||
|
CgMODwoPDgsKCw4PCgsOCwoTDg8KDw4LCgsODwoLDgsKLw4PCg8OCwoLDg8KCw4LCi0QkOcODwoPD
|
||||||
|
gsKCw4PCgsOCwrDDg8KDw4LCg8ODwoLDgsKEdEU5w4PCg8OCwoLDg8KCw4LCtTR0PcODwoPDgsKCw
|
||||||
|
4PCgsOCwovDg8KDw4LCg8ODwoLDgsKNw4PCg8OCwoPDg8KCw4LCqMODwoPDgsKDw4PCgsOCwo5Lw4
|
||||||
|
PCg8OCwoLDg8KCw4LCi0AgUMODwoPDgsKDw4PCgsOCwr/Dg8KDw4LCgsODwoLDgsKsw4PCg8OCwoL
|
||||||
|
Dg8KCw4LCik/Dg8KDw4LCgsODwoLDgsKFw4PCg8OCwoPDg8KCw4LCgHUow4PCg8OCwoLDg8KCw4LC
|
||||||
|
i8ODwoPDgsKDw4PCgsOCwo3Dg8KDw4LCgsODwoLDgsKJw4PCg8OCwoLDg8KCw4LCtTTDg8KDw4LCg
|
||||||
|
8ODwoLDgsKow4PCg8OCwoPDg8KCw4LCl8ODwoPDgsKDw4PCgsOCwrtWw4PCg8OCwoLDg8KCw4LCi8
|
||||||
|
ODwoPDgsKDw4PCgsOCwo3Dg8KDw4LCg8ODwoLDgsKow4PCg8OCwoLDg8KCw4LCnw==
|
||||||
|
|
||||||
|
dn: cn=ITD Staff,ou=Groups,o=Example,c=US
|
||||||
|
owner: cn=Manager,o=Example,c=US
|
||||||
|
description: All ITD Staff
|
||||||
|
cn: ITD Staff
|
||||||
|
objectClass: groupOfUniqueNames
|
||||||
|
uniqueMember: cn=Manager,dc=example,dc=com
|
||||||
|
uniqueMember: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=
|
||||||
|
example,dc=com
|
||||||
|
uniqueMember: cn=James A Jones 2,ou=Information Technology Division,ou=People,
|
||||||
|
dc=example,dc=com
|
||||||
|
uniqueMember: cn=John Doe,ou=Information Technology Division,ou=People,dc=exam
|
||||||
|
ple,dc=com
|
||||||
|
|
||||||
|
dn: cn=James A Jones 1,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: James A Jones 1
|
||||||
|
cn: James Jones
|
||||||
|
cn: Jim Jones
|
||||||
|
sn: Jones
|
||||||
|
uid: jaj
|
||||||
|
postalAddress: Alumni Association $ 111 Maple St $ Anytown, MI 48109
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
userPassword:: amFq
|
||||||
|
homePostalAddress: 3882 Beverly Rd. $ Anytown, MI 48105
|
||||||
|
homePhone: +1 313 555 4772
|
||||||
|
description: Outstanding
|
||||||
|
title: Mad Cow Researcher, UM Alumni Association
|
||||||
|
pager: +1 313 555 3923
|
||||||
|
mail: jaj@mail.alumni.example.com
|
||||||
|
facsimileTelephoneNumber: +1 313 555 4332
|
||||||
|
telephoneNumber: +1 313 555 0895
|
||||||
|
|
||||||
|
dn: cn=James A Jones 2,ou=Information Technology Division,ou=People,o=Example,
|
||||||
|
c=US
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: James A Jones 2
|
||||||
|
cn: James Jones
|
||||||
|
cn: Jim Jones
|
||||||
|
sn: Doe
|
||||||
|
uid: jjones
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
homePostalAddress: 933 Brooks $ Anytown, MI 48104
|
||||||
|
homePhone: +1 313 555 8838
|
||||||
|
title: Senior Manager, Information Technology Division
|
||||||
|
description: Not around very much
|
||||||
|
mail: jjones@mailgw.example.com
|
||||||
|
postalAddress: Info Tech Division $ 535 W William $ Anytown, MI 48103
|
||||||
|
pager: +1 313 555 2833
|
||||||
|
facsimileTelephoneNumber: +1 313 555 8688
|
||||||
|
telephoneNumber: +1 313 555 7334
|
||||||
|
|
||||||
|
dn: cn=Jane Doe,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: Jane Doe
|
||||||
|
cn: Jane Alverson
|
||||||
|
sn: Doe
|
||||||
|
uid: jdoe
|
||||||
|
title: Programmer Analyst, UM Alumni Association
|
||||||
|
postalAddress: Alumni Association $ 111 Maple St $ Anytown, MI 48109
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
homePostalAddress: 123 Anystreet $ Anytown, MI 48104
|
||||||
|
drink: diet coke
|
||||||
|
description: Enthusiastic
|
||||||
|
mail: jdoe@woof.net
|
||||||
|
homePhone: +1 313 555 5445
|
||||||
|
pager: +1 313 555 1220
|
||||||
|
facsimileTelephoneNumber: +1 313 555 2311
|
||||||
|
telephoneNumber: +1 313 555 4774
|
||||||
|
|
||||||
|
dn: cn=Jennifer Smith,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: Jennifer Smith
|
||||||
|
cn: Jen Smith
|
||||||
|
sn: Smith
|
||||||
|
uid: jen
|
||||||
|
postalAddress: Alumni Association $ 111 Maple St $ Anytown, MI 48109
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
drink: Sam Adams
|
||||||
|
homePostalAddress: 1000 Maple #44 $ Anytown, MI 48103
|
||||||
|
title: Telemarketer, UM Alumni Association
|
||||||
|
mail: jen@mail.alumni.example.com
|
||||||
|
homePhone: +1 313 555 2333
|
||||||
|
pager: +1 313 555 6442
|
||||||
|
facsimileTelephoneNumber: +1 313 555 2756
|
||||||
|
telephoneNumber: +1 313 555 8232
|
||||||
|
|
||||||
|
dn: cn=John Belushi,ou=Meta,o=Example,c=US
|
||||||
|
objectClass: inetOrgPerson
|
||||||
|
cn: John Belushi
|
||||||
|
sn: Belushi
|
||||||
|
userPassword:: amFjaw==
|
||||||
|
description: Joliet Jack Blues
|
||||||
|
|
||||||
|
dn: cn=John Doe,ou=Information Technology Division,ou=People,o=Example,c=US
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: John Doe
|
||||||
|
cn: Jonathon Doe
|
||||||
|
sn: Doe
|
||||||
|
uid: johnd
|
||||||
|
postalAddress: ITD $ 535 W. William $ Anytown, MI 48109
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
homePostalAddress: 912 East Bllvd $ Anytown, MI 48104
|
||||||
|
title: System Administrator, Information Technology Division
|
||||||
|
description: overworked!
|
||||||
|
mail: johnd@mailgw.example.com
|
||||||
|
homePhone: +1 313 555 3774
|
||||||
|
pager: +1 313 555 6573
|
||||||
|
facsimileTelephoneNumber: +1 313 555 4544
|
||||||
|
telephoneNumber: +1 313 555 9394
|
||||||
|
|
||||||
|
dn: cn=Manager,o=Example,c=US
|
||||||
|
objectClass: person
|
||||||
|
cn: Manager
|
||||||
|
cn: Directory Manager
|
||||||
|
cn: Dir Man
|
||||||
|
sn: Manager
|
||||||
|
description: Manager of the directory
|
||||||
|
userPassword:: c2VjcmV0
|
||||||
|
|
||||||
|
dn: cn=Mark Elliot,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: Mark Elliot
|
||||||
|
cn: Mark A Elliot
|
||||||
|
sn: Elliot
|
||||||
|
uid: melliot
|
||||||
|
postalAddress: Alumni Association $ 111 Maple St $ Anytown, MI 48109
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
homePostalAddress: 199 Outer Drive $ Ypsilanti, MI 48198
|
||||||
|
homePhone: +1 313 555 0388
|
||||||
|
drink: Gasoline
|
||||||
|
title: Director, UM Alumni Association
|
||||||
|
mail: melliot@mail.alumni.example.com
|
||||||
|
pager: +1 313 555 7671
|
||||||
|
facsimileTelephoneNumber: +1 313 555 7762
|
||||||
|
telephoneNumber: +1 313 555 4177
|
||||||
|
|
||||||
|
dn: ou=Meta,o=Example,c=US
|
||||||
|
objectClass: organizationalUnit
|
||||||
|
ou: Meta
|
||||||
|
|
||||||
|
dn: ou=People,o=Example,c=US
|
||||||
|
objectClass: organizationalUnit
|
||||||
|
objectClass: extensibleObject
|
||||||
|
ou: People
|
||||||
|
uidNumber: 0
|
||||||
|
gidNumber: 0
|
||||||
|
|
||||||
|
dn: cn=Ursula Hampster,ou=Alumni Association,ou=People,o=Example,c=US
|
||||||
|
objectClass: OpenLDAPperson
|
||||||
|
cn: Ursula Hampster
|
||||||
|
sn: Hampster
|
||||||
|
uid: uham
|
||||||
|
title: Secretary, UM Alumni Association
|
||||||
|
postalAddress: Alumni Association $ 111 Maple St $ Anytown, MI 48109
|
||||||
|
seeAlso: cn=All Staff,ou=Groups,o=Example,c=US
|
||||||
|
homePostalAddress: 123 Anystreet $ Anytown, MI 48104
|
||||||
|
mail: uham@mail.alumni.example.com
|
||||||
|
homePhone: +1 313 555 8421
|
||||||
|
pager: +1 313 555 2844
|
||||||
|
facsimileTelephoneNumber: +1 313 555 9700
|
||||||
|
telephoneNumber: +1 313 555 5331
|
||||||
|
|
@ -190,7 +190,7 @@ retry:;
|
|||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( i = 0; i < maxloop; i++ ) {
|
for ( ; i < maxloop; i++ ) {
|
||||||
mod.mod_op = LDAP_MOD_ADD;
|
mod.mod_op = LDAP_MOD_ADD;
|
||||||
rc = ldap_modify_s( ld, entry, mods );
|
rc = ldap_modify_s( ld, entry, mods );
|
||||||
if ( rc != LDAP_SUCCESS ) {
|
if ( rc != LDAP_SUCCESS ) {
|
||||||
|
@ -184,7 +184,7 @@ retry:;
|
|||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( i = 0; i < maxloop; i++ ) {
|
for ( ; i < maxloop; i++ ) {
|
||||||
rc = ldap_modrdn2_s( ld, DNs[0], rdns[0], 0 );
|
rc = ldap_modrdn2_s( ld, DNs[0], rdns[0], 0 );
|
||||||
if ( rc != LDAP_SUCCESS ) {
|
if ( rc != LDAP_SUCCESS ) {
|
||||||
ldap_perror( ld, "ldap_modrdn" );
|
ldap_perror( ld, "ldap_modrdn" );
|
||||||
|
@ -165,7 +165,7 @@ retry:;
|
|||||||
exit( EXIT_FAILURE );
|
exit( EXIT_FAILURE );
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( i = 0; i < maxloop; i++ ) {
|
for ( ; i < maxloop; i++ ) {
|
||||||
LDAPMessage *res;
|
LDAPMessage *res;
|
||||||
|
|
||||||
rc = ldap_search_s( ld, sbase, LDAP_SCOPE_SUBTREE,
|
rc = ldap_search_s( ld, sbase, LDAP_SCOPE_SUBTREE,
|
||||||
|
@ -262,6 +262,7 @@ SQLREAD=$DATADIR/sql-read.out
|
|||||||
SQLWRITE=$DATADIR/sql-write.out
|
SQLWRITE=$DATADIR/sql-write.out
|
||||||
TRANSLUCENTOUT=$DATADIR/translucent.search.out
|
TRANSLUCENTOUT=$DATADIR/translucent.search.out
|
||||||
METAOUT=$DATADIR/meta.out
|
METAOUT=$DATADIR/meta.out
|
||||||
|
METACONCURRENCYOUT=$DATADIR/metaconcurrency.out
|
||||||
|
|
||||||
# Just in case we linked the binaries dynamically
|
# Just in case we linked the binaries dynamically
|
||||||
LD_LIBRARY_PATH=`pwd`/../libraries:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH
|
LD_LIBRARY_PATH=`pwd`/../libraries:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH
|
||||||
|
151
tests/scripts/test036-meta-concurrency
Executable file
151
tests/scripts/test036-meta-concurrency
Executable file
@ -0,0 +1,151 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
# $OpenLDAP$
|
||||||
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||||
|
##
|
||||||
|
## Copyright 1998-2005 The OpenLDAP Foundation.
|
||||||
|
## All rights reserved.
|
||||||
|
##
|
||||||
|
## Redistribution and use in source and binary forms, with or without
|
||||||
|
## modification, are permitted only as authorized by the OpenLDAP
|
||||||
|
## Public License.
|
||||||
|
##
|
||||||
|
## A copy of this license is available in the file LICENSE in the
|
||||||
|
## top-level directory of the distribution or, alternatively, at
|
||||||
|
## <http://www.OpenLDAP.org/license.html>.
|
||||||
|
|
||||||
|
echo "running defines.sh"
|
||||||
|
. $SRCDIR/scripts/defines.sh
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
echo "### this test is currently disabled; enable at own risk ###"
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
if test $BACKMETA = metano ; then
|
||||||
|
echo "meta backend not available, test skipped"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf $TESTDIR
|
||||||
|
|
||||||
|
mkdir -p $TESTDIR $DBDIR1 $DBDIR2
|
||||||
|
|
||||||
|
echo "Starting slapd on TCP/IP port $PORT1..."
|
||||||
|
. $CONFFILTER $BACKEND $MONITORDB < $CONF > $CONF1
|
||||||
|
$SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1 &
|
||||||
|
PID=$!
|
||||||
|
if test $WAIT != 0 ; then
|
||||||
|
echo PID $PID
|
||||||
|
read foo
|
||||||
|
fi
|
||||||
|
KILLPIDS="$PID"
|
||||||
|
|
||||||
|
echo "Using ldapsearch to check that slapd is running..."
|
||||||
|
for i in 0 1 2 3 4 5; do
|
||||||
|
$LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT1 \
|
||||||
|
'objectclass=*' > /dev/null 2>&1
|
||||||
|
RC=$?
|
||||||
|
if test $RC = 0 ; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
echo "Waiting 5 seconds for slapd to start..."
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
if test $RC != 0 ; then
|
||||||
|
echo "ldapsearch failed ($RC)!"
|
||||||
|
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||||
|
exit $RC
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Using ldapadd to populate the database..."
|
||||||
|
$LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \
|
||||||
|
$LDIFORDERED > $TESTOUT 2>&1
|
||||||
|
RC=$?
|
||||||
|
if test $RC != 0 ; then
|
||||||
|
echo "ldapadd failed ($RC)!"
|
||||||
|
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||||
|
exit $RC
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Starting slapd on TCP/IP port $PORT2..."
|
||||||
|
. $CONFFILTER $BACKEND $MONITORDB < $METACONF > $CONF2
|
||||||
|
$SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING > $LOG2 2>&1 &
|
||||||
|
PID=$!
|
||||||
|
if test $WAIT != 0 ; then
|
||||||
|
echo PID $PID
|
||||||
|
read foo
|
||||||
|
fi
|
||||||
|
KILLPIDS="$KILLPIDS $PID"
|
||||||
|
|
||||||
|
echo "Using ldapsearch to check that slapd is running..."
|
||||||
|
for i in 0 1 2 3 4 5; do
|
||||||
|
$LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT2 \
|
||||||
|
'objectclass=*' > /dev/null 2>&1
|
||||||
|
RC=$?
|
||||||
|
if test $RC = 0 ; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
echo "Waiting 5 seconds for slapd to start..."
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
if test $RC != 0 ; then
|
||||||
|
echo "ldapsearch failed ($RC)!"
|
||||||
|
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||||
|
exit $RC
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Using ldapadd to populate the database..."
|
||||||
|
$LDAPADD -D "$METAMANAGERDN" -h $LOCALHOST -p $PORT2 -w $PASSWD < \
|
||||||
|
$LDIFMETA >> $TESTOUT 2>&1
|
||||||
|
RC=$?
|
||||||
|
if test $RC != 0 ; then
|
||||||
|
echo "ldapadd failed ($RC)!"
|
||||||
|
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||||
|
exit $RC
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat /dev/null > $SEARCHOUT
|
||||||
|
|
||||||
|
mkdir -p $TESTDIR/$DATADIR
|
||||||
|
METABASEDN="o=Example,c=US"
|
||||||
|
for f in $DATADIR/do_* ; do
|
||||||
|
sed -e "s;$BASEDN;$METABASEDN;" $f > $TESTDIR/$f
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Using tester for concurrent server access..."
|
||||||
|
$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR/$DATADIR" -h $LOCALHOST -p $PORT2 -D "cn=Manager,$METABASEDN" -w $PASSWD -l 50 -r 20
|
||||||
|
RC=$?
|
||||||
|
|
||||||
|
if test $RC != 0 ; then
|
||||||
|
echo "slapd-tester failed ($RC)!"
|
||||||
|
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||||
|
exit $RC
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Using ldapsearch to retrieve all the entries..."
|
||||||
|
$LDAPSEARCH -S "" -b "$METABASEDN" -h $LOCALHOST -p $PORT2 \
|
||||||
|
'objectClass=*' > $SEARCHOUT 2>&1
|
||||||
|
RC=$?
|
||||||
|
|
||||||
|
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||||
|
|
||||||
|
if test $RC != 0 ; then
|
||||||
|
echo "ldapsearch failed ($RC)!"
|
||||||
|
exit $RC
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Filtering ldapsearch results..."
|
||||||
|
. $LDIFFILTER < $SEARCHOUT > $SEARCHFLT
|
||||||
|
echo "Filtering original ldif used to create database..."
|
||||||
|
. $LDIFFILTER < $METACONCURRENCYOUT > $LDIFFLT
|
||||||
|
echo "Comparing filter output..."
|
||||||
|
$CMP $SEARCHFLT $LDIFFLT > $CMPOUT
|
||||||
|
|
||||||
|
if test $? != 0 ; then
|
||||||
|
echo "comparison failed - meta search/modification didn't succeed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo ">>>>> Test succeeded"
|
||||||
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user