diff options
author | 2017-02-22 14:36:20 +0000 | |
---|---|---|
committer | 2017-02-22 14:36:20 +0000 | |
commit | ffc21434a3c7656e43b9c077f27a436e114e1363 (patch) | |
tree | 64458b5f52a9ef40fa4c806958b2afe6ce6520af | |
parent | No need to use SIOCGIFRDOMAIN anymore. (diff) | |
download | wireguard-openbsd-ffc21434a3c7656e43b9c077f27a436e114e1363.tar.xz wireguard-openbsd-ffc21434a3c7656e43b9c077f27a436e114e1363.zip |
ldapd regress tests depends on openldap-client, check
if that package is installed, otherwise print
a warning and skip them but not fail.
requested by/ok mpi@
-rw-r--r-- | regress/usr.sbin/ldapd/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/regress/usr.sbin/ldapd/Makefile b/regress/usr.sbin/ldapd/Makefile index e01d056924d..1fd77df2e85 100644 --- a/regress/usr.sbin/ldapd/Makefile +++ b/regress/usr.sbin/ldapd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2017/01/26 02:06:37 jmatthew Exp $ +# $OpenBSD: Makefile,v 1.7 2017/02/22 14:36:20 gsoares Exp $ OUT=${.CURDIR}/out DIT=dc=example,dc=com @@ -18,6 +18,15 @@ regress: @echo SKIPPED .endif +.if ! (make(clean) || make(cleandir) || make(obj)) +LDAP_DEP != ldapsearch -VV 2>/dev/null ; echo $? +.endif +.if ("${LDAP_DEP}" != 0) +regress: + @echo openldap-client must be installed + @echo SKIPPED +.endif + REGRESS_TARGETS = connect import perl purge #cpan bootstrap: |