[lldb/Test] Update TestProcessList.py for reproducer replay
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 8 May 2020 20:12:22 +0000 (13:12 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 8 May 2020 20:14:18 +0000 (13:14 -0700)
commiteb7d32e46fe184fdfcb52e0a25973e713047e305
tree6f2a55663010358ded33a76dac37d301cc669e34
parentc490c5e81ac90cbf079c7cee18cd56171f1e27af
[lldb/Test] Update TestProcessList.py for reproducer replay

Because LLDB isn't the one spawning the subprocess, the PID is different
during replay. Exclude it form the substring check during replay.

Depends on D79646 to pass with reproducer replay.
lldb/packages/Python/lldbsuite/test/configuration.py
lldb/test/API/commands/platform/process/list/TestProcessList.py