From 1c68f564ee2d144db821951f7ba095dca53397a2 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Thu, 22 Aug 2024 16:50:44 +0200 Subject: [PATCH] tests: No longer skip tests reading EC keys from cert This condition was introduced at the time when we were running the softhsm under p11-kit proxy, which caused some issues to mac. We no longer do this so there is no need to skip this test either. Signed-off-by: Jakub Jelen --- tests/tpubkey | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/tpubkey b/tests/tpubkey index d2f09d2b..f2ab6254 100755 --- a/tests/tpubkey +++ b/tests/tpubkey @@ -58,11 +58,10 @@ if [ -n "$BASE2URI" ]; then title LINE "Export Public key to a file (base-uri)" ossl 'pkey -in $BASE2URI -pubout -out ${TMPPDIR}/base-cert.pub' diff "${TMPPDIR}/base-cert.pub" "${TMPPDIR}/priv-cert.pub" +fi - # The MacOS keeps crashing in this step so lets skip the remaining tests - if [ "$(uname)" == "Darwin" ]; then - exit 0 - fi +if [ -n "$ECBASE2URI" ]; then + title PARA "Check we can get EC public keys from certificate objects" title LINE "Export Public EC key to a file (priv-uri)" ossl 'pkey -in $ECPRI2URI -pubout -out ${TMPPDIR}/ec-priv-cert.pub'