From 7866dbb261240f71c79e70d2ed52351846f795cd Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 28 Sep 2021 14:44:42 +0200 Subject: [PATCH] [lldb/test] Remove a check from TestLoadAfterAttach The two module retrieval methods (qXfer:libraries-svr4 and manual list traversal) differ in how the handle the manually-added-but-not-yet-loaded modules. The svr4 path will remove it, while the manual one will keep in the list. It's likely the two paths need ought to be synchronized, but right now, this distinction is not relevant for the test. --- .../API/functionalities/load_after_attach/TestLoadAfterAttach.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py b/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py index 3b261e6..de691e6 100644 --- a/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py +++ b/lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py @@ -39,13 +39,6 @@ class TestCase(TestBase): stopped_threads = lldbutil.continue_to_breakpoint(self.process(), breakpoint1) self.assertEqual(len(stopped_threads), 1) - # Check that image list does not contain liblib_b before dlopen. - self.match( - "image list", - patterns = [lib_name], - matching = False, - msg = lib_name + " should not have been in image list") - # Change a variable to escape the loop self.runCmd("expression main_thread_continue = 1") -- 2.7.4