bx509d: Fix tests skipping on OS X

This commit is contained in:
Nicolas Williams
2022-12-21 18:23:32 -06:00
parent 07ce06e7b2
commit 131d90c414

View File

@@ -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