2 from lldbsuite
.test
.lldbtest
import *
3 from lldbsuite
.test
import lldbutil
4 from lldbsuite
.test
.decorators
import *
7 class TestCase(TestBase
):
8 def test_invalid_arg(self
):
11 lldbutil
.run_to_source_breakpoint(
12 self
, "// break here", lldb
.SBFileSpec("main.cpp")
16 "thread select -1", error
=True, startstr
="error: Invalid thread index '-1'"
19 "thread select 0x1ffffffff",
21 startstr
="error: Invalid thread index '0x1ffffffff'",
23 # Parses but not a valid thread id.
25 "thread select 0xffffffff",
27 startstr
="error: invalid thread #0xffffffff.",