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    @no_debug_info_test
16    def test_backticks_no_target(self):
17        """A simple test of backticks without a target."""
18        self.expect("print `1+2-3`",
19                    substrs=[' = 0'])
20