From: Med Ismail Bennani Date: Thu, 23 Jul 2020 11:21:26 +0000 (+0200) Subject: [lldb/test] Fix TestHistoryRecall failure (NFC) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e605994bb30610107607f4267046e70a43852b97;p=platform%2Fupstream%2Fllvm.git [lldb/test] Fix TestHistoryRecall failure (NFC) This patch fixes a test failure in TestHistoryRecall caused by the move of the `history` subcommand to the `session` command. This change was introduced by commit 85fbb08fa2ac5195dc7a2f13eea7de1471da2a21. Signed-off-by: Med Ismail Bennani --- diff --git a/lldb/test/API/functionalities/history/TestHistoryRecall.py b/lldb/test/API/functionalities/history/TestHistoryRecall.py index 557b4a4..18ab2ca 100644 --- a/lldb/test/API/functionalities/history/TestHistoryRecall.py +++ b/lldb/test/API/functionalities/history/TestHistoryRecall.py @@ -25,12 +25,12 @@ class TestHistoryRecall(TestBase): def sample_test(self): interp = self.dbg.GetCommandInterpreter() result = lldb.SBCommandReturnObject() - interp.HandleCommand("command history", result, True) + interp.HandleCommand("session history", result, True) interp.HandleCommand("platform list", result, True) interp.HandleCommand("!0", result, False) self.assertTrue(result.Succeeded(), "!0 command did not work: %s"%(result.GetError())) - self.assertTrue("command history" in result.GetOutput(), "!0 didn't rerun command history") + self.assertTrue("session history" in result.GetOutput(), "!0 didn't rerun session history") interp.HandleCommand("!-1", result, False) self.assertTrue(result.Succeeded(), "!-1 command did not work: %s"%(result.GetError()))