Skip to content

Commit

Permalink
[lldb] [test] Fix variable overwrite in non-stop fork tests
Browse files Browse the repository at this point in the history
Thanks to Pavel Labath for noticing the mistake in:
https://reviews.llvm.org/D128638#3618039

Sponsored by: The FreeBSD Foundation
  • Loading branch information
mgorny committed Jun 29, 2022
1 parent 7236e5d commit 3c16fb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lldb/test/API/tools/lldb-server/TestGdbRemoteForkNonStop.py
Expand Up @@ -92,8 +92,7 @@ def test_kill_all_nonstop(self):
"send packet: $OK#00",
], True)
self.expect_gdbremote_sequence()
self.assertEqual(set([ret["pid1"], ret["pid2"]]),
set([parent_pid, child_pid]))
self.assertEqual(set([pid1, pid2]), set([parent_pid, child_pid]))

@add_test_categories(["fork"])
def test_vkill_both_nonstop(self):
Expand Down

0 comments on commit 3c16fb3

Please sign in to comment.