From 131d90c41442d42daed609b3bfcade6c169aa46a Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Wed, 21 Dec 2022 18:23:32 -0600 Subject: [PATCH] bx509d: Fix tests skipping on OS X --- tests/kdc/check-bx509.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/kdc/check-bx509.in b/tests/kdc/check-bx509.in index 516fa9714..d1e63741e 100644 --- a/tests/kdc/check-bx509.in +++ b/tests/kdc/check-bx509.in @@ -394,11 +394,15 @@ $hxtool acert --expr="%{certificate.subject} == \"OU=Users,CN=KDC,$DCs\"" \ if ! which curl; then echo "curl is not available -- not testing bx509d" + sh ${leaks_kill} test_csr_authorizer $test_csr_authorizer_pid || ec=1 + trap '' EXIT exit 77 fi if ! test -x ${objdir}/../../kdc/bx509d; then echo "Configured w/o libmicrohttpd -- not testing bx509d" + sh ${leaks_kill} test_csr_authorizer $test_csr_authorizer_pid || ec=1 + trap '' EXIT exit 77 fi