You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2009/01/27 14:39:07 UTC

svn commit: r738089 - /qpid/trunk/qpid/cpp/src/tests/run_acl_tests

Author: tross
Date: Tue Jan 27 13:39:06 2009
New Revision: 738089

URL: http://svn.apache.org/viewvc?rev=738089&view=rev
Log:
Delete the temp log file before the absolute path test.
If this test failed, the log remained and was appended to.  This led to the
extraction of the wrong PORT and the failure to shut down the test daemon.

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=738089&r1=738088&r2=738089&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/run_acl_tests (original)
+++ qpid/trunk/qpid/cpp/src/tests/run_acl_tests Tue Jan 27 13:39:06 2009
@@ -36,6 +36,7 @@
 
 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}'`    



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