• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""
2Test that backticks without a target should work (not infinite looping).
3"""
4
5
6
7import lldb
8from lldbsuite.test.decorators import *
9from lldbsuite.test.lldbtest import *
10from lldbsuite.test import lldbutil
11
12
13class 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'])
22