summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
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
commit9c6edf73c49e689cf3ff267d564f32ddb0ac9556 (patch)
treeb345dc5e131bc87199944765109b829844cf568a /qpid/cpp/src
parent0cd8aa7d19e875108f316c62e02f8c679d9c61eb (diff)
downloadqpid-python-9c6edf73c49e689cf3ff267d564f32ddb0ac9556.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@714121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rwxr-xr-xqpid/cpp/src/tests/ssl_test3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/ssl_test b/qpid/cpp/src/tests/ssl_test
index a197a8fdf6..84eb62b1db 100755
--- a/qpid/cpp/src/tests/ssl_test
+++ b/qpid/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`
}