[lldb] Make TestIOHandlerCompletion more stable and document it
Instead of relying that three tabs show all completions, we should show all remaining completions which will always stop the mode where we show completions. Should fix this test on systems that somehow have more completions that our normal LLDB (as they would end up being stuck in the mode where we show completions). llvm-svn: 369293
This commit is contained in:
parent
19bf637eb1
commit
0f4e9835c9
|
@ -39,13 +39,16 @@ class IOHandlerCompletionTest(TestBase):
|
|||
(lldbtest_config.lldbExec, self.lldbOption, "", exe))
|
||||
|
||||
self.expect_string(prompt)
|
||||
self.child.send("\t\t\t")
|
||||
# Start tab completion, go to the next page and then display all with 'a'.
|
||||
self.child.send("\t\ta")
|
||||
self.expect_string("register")
|
||||
|
||||
# Try tab completing regi to register.
|
||||
self.child.send("regi\t")
|
||||
self.expect_string(prompt + "register")
|
||||
self.child.send("\n")
|
||||
|
||||
# Start tab completion and abort showing more commands with 'n'.
|
||||
self.child.send("\t")
|
||||
self.expect_string("More (Y/n/a)")
|
||||
self.child.send("n")
|
||||
|
|
Loading…
Reference in New Issue