summaryrefslogtreecommitdiff
path: root/cpp/src/tests/ssl_test
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-05-14 17:46:52 +0000
committerAlan Conway <aconway@apache.org>2010-05-14 17:46:52 +0000
commit970b8e7edcbf0f7e47bf5170dd456674ec276dd3 (patch)
treea352b531bedc03e9a40363465ea50add6ccf9382 /cpp/src/tests/ssl_test
parenteb864001199f01d9c50f8565a6c56858cb697abe (diff)
downloadqpid-python-970b8e7edcbf0f7e47bf5170dd456674ec276dd3.tar.gz
Skip cluster part of ssl_test if cluster not enabled.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944356 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/ssl_test')
-rwxr-xr-xcpp/src/tests/ssl_test2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/tests/ssl_test b/cpp/src/tests/ssl_test
index b813233533..4863eb90c7 100755
--- a/cpp/src/tests/ssl_test
+++ b/cpp/src/tests/ssl_test
@@ -84,6 +84,8 @@ test "$MSG" = "hello" || { echo "receive failed '$MSG' != 'hello'"; exit 1; }
test -z $CLUSTER_LIB && exit 0 # Exit if cluster not supported.
## Test failover in a cluster using SSL only
+. $srcdir/ais_check # Will exit if clustering not enabled.
+
pick_port() {
# We need a fixed port to set --cluster-url. Use qpidd to pick a free port.
PICK=`../qpidd --no-module-dir -dp0`