[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3898) test037 fails with -DLDAP_REL_ENG



Full_Name: Hallvard B Furuseth
Version: HEAD
OS: 
URL: 
Submission from: (NULL) (129.240.186.42)
Submitted by: hallvard


test037 fails when OpenLDAP is compiled with -DLDAP_REL_ENG,
because the manageDIT control is only available with LDAP_DEVEL.

Shall I add this to test037 after checking that slapd is running?

# The Manage DIT control is only supported when LDAP_DEVEL is #defined
case `$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "" -s base supportedExtension` in
*": 1.3.6.1.4.1.4203.666.5.12"*) : ;;
*supported*)
	test $KILLSERVERS != no && kill -HUP $KILLPIDS
	echo "Manage DIT control not available, test skipped"
	exit 0
esac