From 68d59abe9a2a21b15603bcf1040fffd299cc2554 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 29 Aug 2002 02:55:39 +0000 Subject: [PATCH] Add case to 009 --- tests/scripts/test009-referral | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/scripts/test009-referral b/tests/scripts/test009-referral index bf295ea656..aab5a45356 100755 --- a/tests/scripts/test009-referral +++ b/tests/scripts/test009-referral @@ -127,6 +127,18 @@ if test $RC != 0 ; then exit $RC fi +echo "Testing objectClass/attributeType inheritance ..." +$LDAPSEARCH -M -a never -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT \ + '(&(objectClass=inetorgperson)(userid=uham))' \ + "2.5.4.0" "userid" >> $SEARCHOUT 2>&1 +RC=$? +if test $RC != 0 ; then + echo "ldapsearch failed ($RC)!" + kill -HUP $PID + exit $RC +fi + + kill -HUP $PID $SLAVEPID LDIF=$SEARCHOUTMASTER -- 2.39.5