qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r1642246 - /qpid/trunk/qpid/cpp/src/tests/brokertest.py
Date Thu, 27 Nov 2014 23:14:18 GMT
Author: aconway
Date: Thu Nov 27 23:14:18 2014
New Revision: 1642246

URL: http://svn.apache.org/r1642246
Log:
NO-JIRA: Use absolute path for store directory in brokertest.py

Recent store changes broke the use of a relative directory as data-dir.

Modified:
    qpid/trunk/qpid/cpp/src/tests/brokertest.py

Modified: qpid/trunk/qpid/cpp/src/tests/brokertest.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/brokertest.py?rev=1642246&r1=1642245&r2=1642246&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/brokertest.py (original)
+++ qpid/trunk/qpid/cpp/src/tests/brokertest.py Thu Nov 27 23:14:18 2014
@@ -314,7 +314,7 @@ class Broker(Popen):
         if test_store: cmd += ["--load-module", BrokerTest.test_store_lib,
                                "--test-store-events", self.store_log]
 
-        self.datadir = self.name
+        self.datadir = os.path.abspath(self.name)
         cmd += ["--data-dir", self.datadir]
         if show_cmd: print cmd
         Popen.__init__(self, cmd, expect, stdout=PIPE)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message