From b0ed6faecb9d7dbbe91ac39af6bbdc2ad412253c Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 27 May 2010 20:02:30 +0000 Subject: 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 --- cpp/src/tests/run_cluster_authentication_test | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'cpp/src/tests/run_cluster_authentication_test') 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 -- cgit v1.2.1