[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: test005-modrdn failed



Hi Kurt,

The environement I am using:
SuSE Linux 2.4.7
gcc-2.95.3-62
glibc-2.2.2-26
Berkley DB 2.4.14

The output of the test follows....  test.out is empty.  The test failed
comparing ldapsearch.flt and ldif.flt.
I have included the diff file on the bottom.  Master.log is quite large. I
can email to you if you need it.

>>>>> Starting test005-modrdn ...
running defines.sh . ldbm
Cleaning up in ./test-db...
Running slapadd to build slapd database...
Starting slapd on TCP/IP port 9009...
Testing slapd modrdn operations...
Waiting 5 seconds for slapd to start...
Testing modrdn(deleteoldrdn=0)...
Testing modrdn(deleteoldrdn=1)...
Using ldapsearch to retrieve entries using new rdn (cn=James A Jones
III)...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
Using ldapsearch to retrieve entries using new rdn (cn=James A Jones II)...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
comparison failed - modrdn operations did not complete correctly
>>>>> ./scripts/test005-modrdn failed (exit 1)
make[1]: *** [test-ldbm] Error 1
make[1]: Leaving directory `/usr/src/openldap-2.0.21/tests'
make: *** [test] Error 2


====>diff output

--- ldif.flt    Thu Feb  7 16:44:12 2002
+++ ldapsearch.flt      Thu Feb  7 16:44:12 2002
@@ -4,6 +4,7 @@
 objectclass: person
 objectclass: organizationalPerson
 objectclass: newPilotPerson
+cn: James A Jones 2
 cn: James Jones
 cn: Jim Jones
 cn: James A Jones II


Thanks,
Eva
IBM Corporation
zSeries Linux Technical Support


                                                                                                                                       
                      "Kurt D.                                                                                                         
                      Zeilenga"                To:       Eva Yan/Poughkeepsie/IBM@IBMUS                                                
                      <Kurt@OpenLDAP.or        cc:       OpenLDAP-bugs@OpenLDAP.org                                                    
                      g>                       Subject:  Re: test005-modrdn failed                                                     
                                                                                                                                       
                      02/07/2002 03:42                                                                                                 
                      PM                                                                                                               
                                                                                                                                       
                                                                                                                                       



Eva,

Test005-modrdn should work fine on Linux.  Can you provide details
on how it failing?  That is, what was reported to you on the
terminal, was there any indication of problem in any of the
test output files (test.out, ldapsearch.out, master.log), was
the result different than expected (diff -iu ldif.flt ldapsearch.flt).
These files are all in test-db directory.

Also, details on which configuration would be useful,
including which database (and version) you are using,
version of  kernel, gcc, and libc.

Kurt

At 06:24 AM 2002-02-06, Eva Yan wrote:
>Hi,
>
>I  just installed openldap 2.0.22 (dated 20020115) on a linux machine.
>The build was successful but the 'make test'  failed at  test005-moddrn.
>It looks like the ldapmodrdn command is not processing the '-r' option.
>I also did a simple test with my own data and got the same result....
>The '-r' option in ldapmodrdn does not remove the old  RDN value from the
>entry.
>Is this a bug or user error? Thanks.
>
>
>Eva Yan
>(evayan@us.ibm.com)