qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r741588 - /qpid/trunk/qpid/cpp/src/tests/run_acl_tests
Date Fri, 06 Feb 2009 15:12:07 GMT
Author: aconway
Date: Fri Feb  6 15:12:07 2009
New Revision: 741588

URL: http://svn.apache.org/viewvc?rev=741588&view=rev
Log:
Fix error in  run_acl_tests.

Modified:
    qpid/trunk/qpid/cpp/src/tests/run_acl_tests

Modified: qpid/trunk/qpid/cpp/src/tests/run_acl_tests
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/run_acl_tests?rev=741588&r1=741587&r2=741588&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/run_acl_tests (original)
+++ qpid/trunk/qpid/cpp/src/tests/run_acl_tests Fri Feb  6 15:12:07 2009
@@ -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 @@
     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";



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message