[Lldb-commits] [PATCH] D32522: Test case for the issue raised in D32271

Ed Maste via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Apr 30 13:01:29 PDT 2017


emaste requested changes to this revision.
emaste added a comment.
This revision now requires changes to proceed.

This test passes even without the change in https://reviews.llvm.org/D32271, presumably because `exe = os.path.join(os.getcwd(), 'newdir/proc_attach')` is providing us with an absolute path for `argv[0]`.

With a change like that below the test passes with https://reviews.llvm.org/D32271 and fails without it:

  os.chdir('newdir')
  # Spawn a new process
  popen = self.spawnSubprocess('./proc_attach')
  os.chdir('..')


https://reviews.llvm.org/D32522





More information about the lldb-commits mailing list