diff options
author | Alan Conway <aconway@apache.org> | 2009-02-04 17:16:51 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-02-04 17:16:51 +0000 |
commit | 35d0d4f0173659f406785f23113c607c09d6041c (patch) | |
tree | f355ecf0197dc572d8724b8fe917ba652a99ad24 /cpp/src | |
parent | 314eb1b65a752daaa80a2cb5174bac78c4643bcb (diff) | |
download | qpid-python-35d0d4f0173659f406785f23113c607c09d6041c.tar.gz |
Fixed run_acl_tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740801 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-x | cpp/src/tests/run_acl_tests | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/tests/run_acl_tests b/cpp/src/tests/run_acl_tests index 4270e6545e..88de5f33fc 100755 --- a/cpp/src/tests/run_acl_tests +++ b/cpp/src/tests/run_acl_tests @@ -38,9 +38,8 @@ stop_brokers() { test_loading_acl_from_absolute_path(){ POLICY_FILE=$PWD/$srcdir/policy.acl rm -f temp.log - ../qpidd --daemon --port 0 --no-module-dir --no-data-dir --auth no --load-module ../.libs/acl.so --acl-file $POLICY_FILE -t --log-to-file temp.log 2>/dev/null - PORT=`grep "Listening on TCP port" temp.log | awk '{print $8}'` - ACL_FILE=`grep "notice Read ACL file" temp.log | awk '{print $7}'` + PORT=`../qpidd --daemon --port 0 --no-module-dir --no-data-dir --auth no --load-module ../.libs/acl.so --acl-file $POLICY_FILE -t --log-to-file temp.log 2>/dev/null` + ACL_FILE=`grep "notice Read ACL file" temp.log | awk '{print $5x}'` ../qpidd -q --port $PORT if test "$ACL_FILE" != "\"$POLICY_FILE\""; then echo "unable to load policy file from an absolute path"; |