summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-10-24 18:37:28 +0000
committerGordon Sim <gsim@apache.org>2008-10-24 18:37:28 +0000
commit2f5904f0139b9dddfdff51d7a2d4762794073a8c (patch)
treebb180d2f60f3a620abc281033da2eacd7f377aff /cpp
parentff912d766ce14a31399823eb839e94300de3e648 (diff)
downloadqpid-python-2f5904f0139b9dddfdff51d7a2d4762794073a8c.tar.gz
Add check for presence of certutil when running ssl test
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707704 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/src/tests/ssl_test9
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}