diff options
| author | Alan Conway <aconway@apache.org> | 2010-05-27 20:02:41 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-05-27 20:02:41 +0000 |
| commit | 9e82faab313bab906dc1e6e2dda02b4db9dbf993 (patch) | |
| tree | 94a61638d14d20588414b3fe1386518d07c76f46 /cpp/src/tests/sasl_test_setup.sh | |
| parent | b0ed6faecb9d7dbbe91ac39af6bbdc2ad412253c (diff) | |
| download | qpid-python-9e82faab313bab906dc1e6e2dda02b4db9dbf993.tar.gz | |
Fixed: authentication with bad credentials causes cluster broker to exit.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948969 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/sasl_test_setup.sh')
| -rwxr-xr-x | cpp/src/tests/sasl_test_setup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/sasl_test_setup.sh b/cpp/src/tests/sasl_test_setup.sh index 68858b2c0a..69748beece 100755 --- a/cpp/src/tests/sasl_test_setup.sh +++ b/cpp/src/tests/sasl_test_setup.sh @@ -9,13 +9,14 @@ mkdir -p sasl_config cat > sasl_config/qpidd.conf <<EOF pwcheck_method: auxprop auxprop_plugin: sasldb -sasldb_path: ./sasl_config/qpidd.sasldb +sasldb_path: $PWD/sasl_config/qpidd.sasldb sql_select: dummy select EOF # Populate temporary sasl db. SASLTEST_DB=./sasl_config/qpidd.sasldb rm -f $SASLTEST_DB +echo guest | $SASL_PW -c -p -f $SASLTEST_DB -u QPID guest echo zig | $SASL_PW -c -p -f $SASLTEST_DB -u QPID zig echo zag | $SASL_PW -c -p -f $SASLTEST_DB -u QPID zag |
