]> git.sur5r.net Git - openldap/commitdiff
improve previous commit
authorPierangelo Masarati <ando@openldap.org>
Sun, 7 Aug 2005 11:44:57 +0000 (11:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 7 Aug 2005 11:44:57 +0000 (11:44 +0000)
tests/scripts/test037-manage

index caa7e99e93f7d1d75a7e13eff6f316f4c25b0b81..9ad332351870c16dbe60fa7e5831377bbc0ed29c 100755 (executable)
@@ -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"