diff options
Diffstat (limited to 'cpp')
-rwxr-xr-x | cpp/src/tests/ssl_test | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/src/tests/ssl_test b/cpp/src/tests/ssl_test index a357a38c0a..d0bd3b6f95 100755 --- a/cpp/src/tests/ssl_test +++ b/cpp/src/tests/ssl_test @@ -24,8 +24,15 @@ start_broker() { } stop_broker() { - ../qpidd -q --port $PORT + if [[ -x $PORT ]] ; then + ../qpidd -q --port $PORT + fi } +CERTUTIL=$(type -p certutil) +if [[ !(-x $CERTUTIL) ]] ; then + echo "No certutil, skipping ssl test"; + exit 0; +fi if [[ !(-e ${CERT_PW_FILE}) ]] ; then echo password > ${CERT_PW_FILE} |