summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_cluster_authentication_test
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-05-27 20:02:30 +0000
committerAlan Conway <aconway@apache.org>2010-05-27 20:02:30 +0000
commitb0ed6faecb9d7dbbe91ac39af6bbdc2ad412253c (patch)
treea55d8ee9de910a9d120b72247820746e9f94957f /cpp/src/tests/run_cluster_authentication_test
parent0b717b95d472d96f32395df14a5a6433fdbbae1c (diff)
downloadqpid-python-b0ed6faecb9d7dbbe91ac39af6bbdc2ad412253c.tar.gz
Fix problems with cluster_authentication_soak test in VPATH build.
- Fix SASL version testing logic in cluster_authentication_soak and SaslAuthenticator - Generate all SASL config in the build directory in sasl_test_setup.sh - Compile cluster_authentication_soak only if SASL is available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948968 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/run_cluster_authentication_test')
-rwxr-xr-xcpp/src/tests/run_cluster_authentication_test13
1 files changed, 1 insertions, 12 deletions
diff --git a/cpp/src/tests/run_cluster_authentication_test b/cpp/src/tests/run_cluster_authentication_test
index 15597e7073..0e102490b1 100755
--- a/cpp/src/tests/run_cluster_authentication_test
+++ b/cpp/src/tests/run_cluster_authentication_test
@@ -1,16 +1,5 @@
#! /bin/bash
-SASL_PW=/usr/sbin/saslpasswd2
-SASLTEST_DB=./sasl_config/qpidd.sasldb
-
-if [ -e $SASL_PW ]
-then
- echo "Building temporary sasl db."
- rm -f $SASLTEST_DB
- echo zig | $SASL_PW -c -p -f $SASLTEST_DB -u QPID zig
- echo zag | $SASL_PW -c -p -f $SASLTEST_DB -u QPID zag
-fi
-
-# This test will return something reasonable whether or not sasl exists.
+source sasl_test_setup.sh
./cluster_authentication_soak