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

Re: "make test" failed in test005 on Tru64 V5.0 (ITS#1558)



I note my suggestion is actually not an appropriate
workaround as CMPOUT needs to be /dev/null.  As
a work around, hack the code to use "test -s" as
Sue suggests, or just skip that test (by renaming
the file so it doesn't start with "test").

A fix for this is actually in HEAD and will be in
OPENLDAP_REL_ENG_2 soon.

Kurt

At 05:24 PM 2002-01-29, gleeson@zk3.dec.com wrote:
>Alternately, change the test to use "test -s" - bit
>cleaner that way, and should work more generally.
>
>Sue
>
>Kurt@OpenLDAP.org wrote:
>> 
>> The diff(1) command on Tru64 doesn't like the test005
>> script.  You can workaround the problem by setting
>> CMPOUT in tests/scripts/defines.sh to the filename
>> whose contents are empty.
>> 
>> At 01:55 PM 2002-01-25, pjiang@platform.com wrote:
>> >Full_Name: Paul Jiang
>> >Version: openldap-2.0.14
>> >OS: OSF1 V5.0 910 alpha
>> >URL: ftp://ftp.openldap.org/incoming/
>> >Submission from: (NULL) (216.183.18.189)
>> >
>> >
>> >I met the "make test" failed in test005 on Tru64 V5.0.
>> >
>> >The OpenLDAP version is: openldap-2.0.14;
>> >
>> >What I have done are:
>> >    ./configure
>> >    make depend
>> >    make
>> >    make test
>> >It is failed on test005-modrdn.
>> >
>> >>>>>> 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...
>> >Using ldapsearch to retrieve entries using removed rdn (cn=James A Jones 2)...
>> >diff: Cannot compare character special file.
>> >failure: ldapsearch found attribute that was to be removed!
>> >>>>>> ./scripts/test005-modrdn failed (exit 1)
>> >*** Exit 1
>> >Stop.
>> >*** Exit 1
>> >Stop.
>> >
>> >Thanks forward for anyhelp.
>> >
>> >Paul