Author: Michał Górny Date: 2022-06-29T13:34:50+02:00 New Revision: 3c16fb3ab34d51c0df9512c38093d1c5c8dd6e79
URL: https://github.com/llvm/llvm-project/commit/3c16fb3ab34d51c0df9512c38093d1c5c8dd6e79 DIFF: https://github.com/llvm/llvm-project/commit/3c16fb3ab34d51c0df9512c38093d1c5c8dd6e79.diff LOG: [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 Added: Modified: lldb/test/API/tools/lldb-server/TestGdbRemoteForkNonStop.py Removed: ################################################################################ diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteForkNonStop.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteForkNonStop.py index 6b5010da9b19..bd9484ff0903 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteForkNonStop.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteForkNonStop.py @@ -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): _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits