forked from OSchip/llvm-project
[lldb] Fix TestCompletion by using SIGPIPE instead of SIGINT as test signal
The test I added in commit 078003482e
was using
SIGINT for testing the tab completion. The idea is to have a signal that only
has one possible completion and I ended up picking SIGIN -> SIGINT for the test.
However on non-Linux systems there is SIGINFO which is a valid completion for
`SIGIN' and so the test fails there.
This replaces SIGIN -> SIGINT with SIGPIP -> SIGPIPE completion which according
to LLDB's signal list in Host.cpp is the only valid completion.
This commit is contained in:
parent
f6413d8aaa
commit
eb61ffbcb2
|
@ -164,8 +164,8 @@ class CommandLineCompletionTestCase(TestBase):
|
|||
|
||||
self.complete_from_to('process signal ',
|
||||
'process signal SIG')
|
||||
self.complete_from_to('process signal SIGIN',
|
||||
'process signal SIGINT')
|
||||
self.complete_from_to('process signal SIGPIP',
|
||||
'process signal SIGPIPE')
|
||||
self.complete_from_to('process signal SIGA',
|
||||
['SIGABRT',
|
||||
'SIGALRM'])
|
||||
|
|
Loading…
Reference in New Issue