summaryrefslogtreecommitdiff
path: root/cpp/src
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
commit564e4b671d48cdc2f2c2806631c98bf9612007ea (patch)
treea352b531bedc03e9a40363465ea50add6ccf9382 /cpp/src
parent221df8f0a2a7b8e820b6c2b75daef2d527a74ea2 (diff)
downloadqpid-python-564e4b671d48cdc2f2c2806631c98bf9612007ea.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')
-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`