From: Pierangelo Masarati Date: Sat, 15 Mar 2008 16:32:24 +0000 (+0000) Subject: add was failing because not compliant with schema X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~87 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4117b4d44e3009d7c4c308ad6a741485a078cdd7;p=openldap add was failing because not compliant with schema --- diff --git a/tests/scripts/test023-refint b/tests/scripts/test023-refint index 9e58707d0f..4caf801248 100755 --- a/tests/scripts/test023-refint +++ b/tests/scripts/test023-refint @@ -158,6 +158,7 @@ $LDAPADD -D "$REFINTDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ $TESTOUT 2>&1 << ETEST dn: uid=special,ou=users,o=refint objectClass: inetOrgPerson +objectClass: extensibleObject uid: special sn: special cn: special @@ -171,6 +172,13 @@ givenName: special member: uid=alice,ou=users,o=refint ETEST +RC=$? +if test $RC != 0 ; then + echo "ldapadd failed ($RC)!" + test $KILLSERVERS != no && kill -HUP $KILLPIDS + exit $RC +fi + echo "Testing delete when referential attribute is a MUST..." $LDAPMODIFY -v -D "$REFINTDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ $TESTOUT 2>&1 << EDEL