summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/src/tests/run_acl_tests3
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";