summaryrefslogtreecommitdiff
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
commit22f751ffe965adbdd24a89654dc191a00d4eb6ce (patch)
tree85992501e50a5d8d85ee81434ca6e8099c2c97e2
parentdd410bf7edb9944911ce1f5289b8a58c2a05f82d (diff)
downloadqpid-python-22f751ffe965adbdd24a89654dc191a00d4eb6ce.tar.gz
Skip cluster part of ssl_test if cluster not enabled.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944356 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xqpid/cpp/src/tests/ssl_test2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/ssl_test b/qpid/cpp/src/tests/ssl_test
index b813233533..4863eb90c7 100755
--- a/qpid/cpp/src/tests/ssl_test
+++ b/qpid/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`