diff options
author | Alan Conway <aconway@apache.org> | 2009-02-06 15:12:07 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-02-06 15:12:07 +0000 |
commit | acf68a9b997000b03168c0f7873bc19b89fd89a3 (patch) | |
tree | 9072dcbd3a66e47648714ced1543257feb9fc6ae /cpp/src | |
parent | 715dbf7ca72aa2cf74a73af429df99bbb82f35c0 (diff) | |
download | qpid-python-acf68a9b997000b03168c0f7873bc19b89fd89a3.tar.gz |
Fix error in run_acl_tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@741588 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-x | cpp/src/tests/run_acl_tests | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/tests/run_acl_tests b/cpp/src/tests/run_acl_tests index 88de5f33fc..1aecf4a7ee 100755 --- a/cpp/src/tests/run_acl_tests +++ b/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"; |