Fix TestProcessLaunch breakage on MacOS
authorPavel Labath <labath@google.com>
Thu, 15 Mar 2018 15:21:54 +0000 (15:21 +0000)
committerPavel Labath <labath@google.com>
Thu, 15 Mar 2018 15:21:54 +0000 (15:21 +0000)
commit0428ddd7fc85aa356ea8ae01836ebd46ffafe1dd
tree6f44a5a6e10fdde0ad2944400502d7a28a8aa3f3
parentd30df5769eb1c8df9a4df3068096e77a76f0bac5
Fix TestProcessLaunch breakage on MacOS

This test started failing after r327625. The cause seems difference in the
treatment of relative --stdin paths between MacOS (debugserver?) and linux
(lldb-server?). Linux treats this as relative to the debuggers PWD, while MacOS
as relative to (I think) the future PWD of the launched process.

This fixes the issue by using absolute paths, which should work everywhere, but
we should probably unify this path handling as well. I'll ask around about what
is the expected behavior here.

llvm-svn: 327633
lldb/packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py