From: Pierangelo Masarati Date: Thu, 20 Jan 2005 00:20:46 +0000 (+0000) Subject: compare on operational attribute X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~312 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d515b9170678d5cfb1e797b365d016293a500168;p=openldap compare on operational attribute --- diff --git a/tests/scripts/sql-test000-read b/tests/scripts/sql-test000-read index e66127444b..98ebe37326 100755 --- a/tests/scripts/sql-test000-read +++ b/tests/scripts/sql-test000-read @@ -467,6 +467,25 @@ case $RC in ;; esac +echo -n "Testing compare on hasSubordinates (should be TRUE)... " +$LDAPCOMPARE -h $LOCALHOST -p $PORT1 "$BASEDN" \ + "hasSubordinates:TRUE" >> $TESTOUT 2>&1 + +RC=$? +case $RC in +6) + echo "TRUE" + ;; +5) echo "FALSE!" + test $KILLSERVERS != no && kill -HUP $KILLPIDS + exit $RC + ;; +*) echo "failed ($RC)!" + test $KILLSERVERS != no && kill -HUP $KILLPIDS + exit $RC + ;; +esac + echo "Filtering ldapsearch results..." . $LDIFFILTER < $SEARCHOUT > $SEARCHFLT echo "Filtering original ldif..."