17 lines · python
1"""2Test that backticks without a target should work (not infinite looping).3"""4 5 6import lldb7from lldbsuite.test.decorators import *8from lldbsuite.test.lldbtest import *9from lldbsuite.test import lldbutil10 11 12class BackticksWithNoTargetTestCase(TestBase):13 @no_debug_info_test14 def test_backticks_no_target(self):15 """A simple test of backticks without a target."""16 self.expect("expression `1+2-3`", substrs=[" = 0"])17