From 61452235ad524384ea4423a4634f8e6f84cc14a4 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 5 Dec 2019 17:37:19 -0600 Subject: [PATCH] bx509: do not test bx509d if not built --- tests/kdc/check-bx509.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/kdc/check-bx509.in b/tests/kdc/check-bx509.in index 50d370bd4..bf3630b40 100644 --- a/tests/kdc/check-bx509.in +++ b/tests/kdc/check-bx509.in @@ -257,6 +257,11 @@ if ! which curl; then exit 0 fi +if ! test -x ${objdir}/../../kdc/bx509d; then + echo "Configured w/o libmicrohttpd -- not testing bx509d" + exit 0 +fi + echo "Starting bx509d" ${bx509d} --reverse-proxied -H $H --cert=${objdir}/bx509.pem -t -p $port --daemon || { echo "bx509 failed to start"; exit 2; }