From b0ddeb44a42706e064664eb94c6e6d1a29bbf3b4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 6 Feb 2009 15:12:07 +0000 Subject: Fix error in run_acl_tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741588 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/run_acl_tests | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qpid/cpp/src') 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"; -- cgit v1.2.1