summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-02-06 15:12:07 +0000
committerAlan Conway <aconway@apache.org>2009-02-06 15:12:07 +0000
commitb0ddeb44a42706e064664eb94c6e6d1a29bbf3b4 (patch)
tree6a7697646aeedb7c2c982544ee8d890058e8d208
parent102766bded915141168372da6b429e706ceeac54 (diff)
downloadqpid-python-b0ddeb44a42706e064664eb94c6e6d1a29bbf3b4.tar.gz
Fix error in run_acl_tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741588 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xqpid/cpp/src/tests/run_acl_tests3
1 files changed, 1 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/run_acl_tests b/qpid/cpp/src/tests/run_acl_tests
index 88de5f33fc..1aecf4a7ee 100755
--- a/qpid/cpp/src/tests/run_acl_tests
+++ b/qpid/cpp/src/tests/run_acl_tests
@@ -20,7 +20,6 @@
#
# Run the acl tests. $srcdir is set by the Makefile.
-set -x
PYTHON_DIR=$srcdir/../../../python
DATA_DIR=`pwd`/data_dir
@@ -39,7 +38,7 @@ test_loading_acl_from_absolute_path(){
POLICY_FILE=$PWD/$srcdir/policy.acl
rm -f temp.log
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}'`
+ ACL_FILE=`grep "notice Read ACL file" temp.log | sed 's/^.*Read ACL file //'`
../qpidd -q --port $PORT
if test "$ACL_FILE" != "\"$POLICY_FILE\""; then
echo "unable to load policy file from an absolute path";