From 4117b4d44e3009d7c4c308ad6a741485a078cdd7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 15 Mar 2008 16:32:24 +0000 Subject: [PATCH] add was failing because not compliant with schema --- tests/scripts/test023-refint | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5