Skip to content

Commit 3c16fb3

Browse files
author
Michał Górny
committed
[lldb] [test] Fix variable overwrite in non-stop fork tests
Thanks to Pavel Labath for noticing the mistake in: https://reviews.llvm.org/D128638#3618039 Sponsored by: The FreeBSD Foundation
1 parent 7236e5d commit 3c16fb3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lldb/test/API/tools/lldb-server/TestGdbRemoteForkNonStop.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ def test_kill_all_nonstop(self):
9292
"send packet: $OK#00",
9393
], True)
9494
self.expect_gdbremote_sequence()
95-
self.assertEqual(set([ret["pid1"], ret["pid2"]]),
96-
set([parent_pid, child_pid]))
95+
self.assertEqual(set([pid1, pid2]), set([parent_pid, child_pid]))
9796

9897
@add_test_categories(["fork"])
9998
def test_vkill_both_nonstop(self):

0 commit comments

Comments
 (0)