summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-11-14 20:10:09 +0000
committerGordon Sim <gsim@apache.org>2008-11-14 20:10:09 +0000
commit8b64ff2a0bb8c3a40734c93081d801089bf94760 (patch)
treeaa9eae9389d4139a90a972ded70c8b14489ce04e /cpp
parente6530406fd6c34ac3b9b7b6e4bb6526dc78f5091 (diff)
downloadqpid-python-8b64ff2a0bb8c3a40734c93081d801089bf94760.tar.gz
Ensure config file can be found (its in source tree not build tree)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/src/tests/ssl_test3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/ssl_test b/cpp/src/tests/ssl_test
index a197a8fdf6..84eb62b1db 100755
--- a/cpp/src/tests/ssl_test
+++ b/cpp/src/tests/ssl_test
@@ -1,6 +1,7 @@
#!/bin/sh
# Run a simple test over SSL
+CONFIG=$(dirname $0)/config.null
CERT_DIR=`pwd`/test_cert_db
CERT_PW_FILE=`pwd`/cert.password
HOSTNAME=`hostname`
@@ -18,7 +19,7 @@ create_certs() {
}
start_broker() {
- ../qpidd --daemon --transport ssl --port 0 --ssl-port 0 --no-data-dir --no-module-dir --auth no --config config.null\
+ ../qpidd --daemon --transport ssl --port 0 --ssl-port 0 --no-data-dir --no-module-dir --auth no --config $CONFIG\
--load-module ../.libs/ssl.so --ssl-cert-db $CERT_DIR --ssl-cert-password-file $CERT_PW_FILE > qpidd.port
PORT=`cat qpidd.port`
}