From: Pierangelo Masarati Date: Sun, 7 Aug 2005 11:44:57 +0000 (+0000) Subject: improve previous commit X-Git-Tag: OPENLDAP_AC_BP~80 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2b8670b9262322574845cc1486a9567f62372f3;p=openldap improve previous commit --- diff --git a/tests/scripts/test037-manage b/tests/scripts/test037-manage index caa7e99e93..9ad3323518 100755 --- a/tests/scripts/test037-manage +++ b/tests/scripts/test037-manage @@ -55,12 +55,10 @@ if test $RC != 0 ; then fi # ITS#3898: #ifndef LDAP_DEVEL, the control is not available -case `$LDAPSEARCH -s base -b "" -h $LOCALHOST -p $PORT1 \ - -Emv='(supportedControl:objectIdentifierMatch:=1.3.6.1.4.1.4203.666.5.12)' \ +case `$LDAPSEARCH -s base -b "" -h $LOCALHOST -p $PORT1 -A \ '(supportedControl:objectIdentifierMatch:=1.3.6.1.4.1.4203.666.5.12)' \ - supportedControl | grep '1.3.6.1.4.1.4203.666.5.12' | cut -d ' ' -f 2` in -"1.3.6.1.4.1.4203.666.5.12") - echo "The \"manageDIT\" control appears to be (partially) supported..." + supportedControl | grep supportedControl` in +"supportedControl:") ;; *) echo "The \"manageDIT\" control appears to be unsupported; test disabled"