summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/target
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/target')
-rw-r--r--lldb/test/python_api/target/TestTargetAPI.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/python_api/target/TestTargetAPI.py b/lldb/test/python_api/target/TestTargetAPI.py
index 2494c0f0c23..0dcafcef622 100644
--- a/lldb/test/python_api/target/TestTargetAPI.py
+++ b/lldb/test/python_api/target/TestTargetAPI.py
@@ -375,7 +375,7 @@ class TargetAPITestCase(TestBase):
# The inferior should run to completion after "process.Continue()" call.
local_path = "stdout.txt";
if lldb.remote_platform:
- stdout_path = os.path.join(lldb.remote_platform.GetWorkingDirectory(), "lldb-stdout-redirect.txt")
+ stdout_path = lldbutil.append_to_remote_wd("lldb-stdout-redirect.txt")
else:
stdout_path = local_path
error = lldb.SBError()
OpenPOWER on IntegriCloud