From cf7e1f12ee750956d5b0fe55a27285a559a71799 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 27 Nov 2014 23:14:18 +0000 Subject: NO-JIRA: Use absolute path for store directory in brokertest.py Recent store changes broke the use of a relative directory as data-dir. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1642246 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/brokertest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src/tests') diff --git a/qpid/cpp/src/tests/brokertest.py b/qpid/cpp/src/tests/brokertest.py index 10040b6e97..598879d4ad 100644 --- a/qpid/cpp/src/tests/brokertest.py +++ b/qpid/cpp/src/tests/brokertest.py @@ -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) -- cgit v1.2.1