Author: aconway
Date: Wed Feb  4 17:16:51 2009
New Revision: 740801

URL: http://svn.apache.org/viewvc?rev=740801&view=rev
Log:
Fixed 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=740801&r1=740800&r2=740801&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/run_acl_tests (original)
+++ qpid/trunk/qpid/cpp/src/tests/run_acl_tests Wed Feb  4 17:16:51 2009
@@ -38,9 +38,8 @@
 test_loading_acl_from_absolute_path(){
     POLICY_FILE=$PWD/$srcdir/policy.acl
     rm -f temp.log
-   ../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
-    PORT=`grep "Listening on TCP port" temp.log | awk '{print $8}'`
-    ACL_FILE=`grep "notice Read ACL file" temp.log | awk '{print $7}'`    
+    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}'`
    ../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-subscr...@qpid.apache.org

Reply via email to