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

./scripts/test005-modrdn failed (exit 1)



Dear Sir's

I write to you for help on the failing LDAP test (I saw you where in contact
regarding the - 2.0-devel fails "make test"? - posting).
I get - rgds Henrik:

>>>>> 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...
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.
# 
# 
====================================================================
The make script:
====================================================================
# New download

# Use memory file system if exists
if [ -d /mfs ]; then cd /mfs; fi;

PATH=$PATH:/usr/local/bin
export PATH

########################
# LDAP
########################

# Options: -c (continue), -N (download only if newer), --retr-symlinks
(follow links)
#release=openldap-stable
release=openldap-release
/usr/local/bin/wget -cN  --retr-symlinks
ftp://ftp.openldap.org/pub/OpenLDAP/$release.tgz

gunzip -c $release.tgz | tar xf -

release=`gunzip -c $release.tgz | tar tf - | sed '1q' | cut -d'/' -f1`
cd $release

echo "Change Makefile in servers/slapd/ and servers/slapd/tools/ to avooooid
SLAPD_LIBS error"
(cp ./build/top.mk /tmp; cat /tmp/top.mk | grep -v 'SLAPD_LIBS =
@SLAPD_LIBS' | grep -v '@SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@' >
./build/top.mk)

CC=cc CFLAGS=-pthread LDFLAGS=-oldstyle_liblookup ./configure 
make depend

make
make tests
make install