summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/run_acl_tests
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/tests/run_acl_tests')
-rwxr-xr-xqpid/cpp/src/tests/run_acl_tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/run_acl_tests b/qpid/cpp/src/tests/run_acl_tests
index 1aecf4a7ee..d9b654c7cd 100755
--- a/qpid/cpp/src/tests/run_acl_tests
+++ b/qpid/cpp/src/tests/run_acl_tests
@@ -53,9 +53,9 @@ if test -d ${PYTHON_DIR} ; then
cp $srcdir/policy.acl $DATA_DIR
start_brokers
echo "Running acl tests using brokers on ports $LOCAL_PORT"
- PYTHONPATH=$PYTHON_DIR
+ PYTHONPATH=$PYTHON_DIR:$srcdir
export PYTHONPATH
- $srcdir/acl.py -v -s $srcdir/../../../specs/amqp.0-10-qpid-errata.xml -b localhost:$LOCAL_PORT --port $LOCAL_PORT || EXITCODE=1
+ $PYTHON_DIR/qpid-python-test -b localhost:$LOCAL_PORT -m acl || EXITCODE=1
stop_brokers || EXITCODE=1
test_loading_acl_from_absolute_path || EXITCODE=1
rm -rf $DATA_DIR