From 409bb53f82585cb2b06c07e553341e0d56857614 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 7 Aug 2005 11:48:45 +0000 Subject: [PATCH] improve previous commit --- tests/scripts/test037-manage | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/scripts/test037-manage b/tests/scripts/test037-manage index 9ad3323518..11cf238d42 100755 --- a/tests/scripts/test037-manage +++ b/tests/scripts/test037-manage @@ -55,10 +55,11 @@ 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 -A \ - '(supportedControl:objectIdentifierMatch:=1.3.6.1.4.1.4203.666.5.12)' \ - supportedControl | grep supportedControl` in -"supportedControl:") +MANAGEDITOID="1.3.6.1.4.1.4203.666.5.12" +case `$LDAPSEARCH -s base -b "" -h $LOCALHOST -p $PORT1 \ + '(supportedControl:objectIdentifierMatch:='${MANAGEDITOID}')' \ + supportedControl | grep "supportedControl: ${MANAGEDITOID}"` in +"supportedControl: ${MANAGEDITOID}") ;; *) echo "The \"manageDIT\" control appears to be unsupported; test disabled" -- 2.39.5