diff options
| author | Alan Conway <aconway@apache.org> | 2010-05-11 14:39:58 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-05-11 14:39:58 +0000 |
| commit | f3e8a605653ebb9ff310d0982e58721168a72fc5 (patch) | |
| tree | d13ae5486e1c4c97e13f78fcd9a4204cd7102309 /qpid/cpp/src/tests/ssl_test | |
| parent | 2b02dfc5293b55a3644d0d241ec1a7c6774f0dd5 (diff) | |
| download | qpid-python-f3e8a605653ebb9ff310d0982e58721168a72fc5.tar.gz | |
Support for multiple protocols in qpid::Url.
- simplified qpid::Address to hold (protocol,host,port) triples.
- protocol plugins call Url:addProtocol to add tags to Url parser.
- use Address::protocol when establishing connections.
- ssl_test: tests using URL to connect.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@943130 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ssl_test')
| -rwxr-xr-x | qpid/cpp/src/tests/ssl_test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/ssl_test b/qpid/cpp/src/tests/ssl_test index 36b332f868..1564abb5f5 100755 --- a/qpid/cpp/src/tests/ssl_test +++ b/qpid/cpp/src/tests/ssl_test @@ -78,5 +78,11 @@ export QPID_NO_MODULE_DIR=1 export QPID_LOAD_MODULE=$SSLCONNECTOR_LIB export QPID_SSL_CERT_DB=${CERT_DIR} export QPID_SSL_CERT_PASSWORD_FILE=${CERT_PW_FILE} +# Test connection via connection settings ./perftest --count ${COUNT} --port ${PORT} -P ssl -b $TEST_HOSTNAME --summary +# Test connection with a URL +URL=amqp:ssl:$TEST_HOSTNAME:$PORT +./qpid_send -b $URL --content-string=hello -a "foo;{create:always}" +MSG=`./qpid_receive -b $URL -a "foo;{create:always}" --messages 1` +test "$MSG" = "hello" || { echo "receive failed '$MSG' != 'hello'"; exit 1; } |
