fdef89c6e056e00afdae1dfd7242acb55702e773
[openbsd] /
1 """
2 Test that backticks without a target should work (not infinite looping).
3 """
4
5
6
7 import lldb
8 from lldbsuite.test.decorators import *
9 from lldbsuite.test.lldbtest import *
10 from lldbsuite.test import lldbutil
11
12
13 class BackticksWithNoTargetTestCase(TestBase):
14
15     mydir = TestBase.compute_mydir(__file__)
16
17     @no_debug_info_test
18     def test_backticks_no_target(self):
19         """A simple test of backticks without a target."""
20         self.expect("print `1+2-3`",
21                     substrs=[' = 0'])