From: Kurt Zeilenga Date: Wed, 25 Aug 1999 23:22:13 +0000 (+0000) Subject: Need to exit 1 if ldapsearch for deleted rdn is successful. X-Git-Tag: OPENLDAP_REL_ENG_1_2_7~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=916c5367d05530a1c002bf81de7ee7b2f6af7edb;p=thirdparty%2Fopenldap.git Need to exit 1 if ldapsearch for deleted rdn is successful. --- diff --git a/CHANGES b/CHANGES index ee6091fe16..dcbcb48282 100644 --- a/CHANGES +++ b/CHANGES @@ -2,10 +2,11 @@ OpenLDAP Change Log Changes included in OpenLDAP 1.2 Release Engineering CVS Tag: OPENLDAP_REL_ENG_1_2 - Fixed slapd memory leaks (ITS#249 ITS#250) Added ldapsearch -W password prompting Added dcObject, uidObject, referral object classes to slapd.oc.conf Added ref attribute type to slapd.at.conf + Fixed slapd memory leaks (ITS#249 ITS#250) + Fixed test005-modrdn to properly report failure in delete rdn case Build environment Disable config.cache to ensure consistent detection Documentation diff --git a/tests/scripts/test005-modrdn b/tests/scripts/test005-modrdn index 8a31e49e02..2b8b1a1549 100755 --- a/tests/scripts/test005-modrdn +++ b/tests/scripts/test005-modrdn @@ -144,7 +144,7 @@ RC=$? if test $RC = 0 ; then echo "failure: ldapsearch found attribute that was to be removed!" kill -HUP $PID - exit $RC + exit 1 fi echo "Using ldapsearch to retrieve all the entries..."