1"""
2This is a sanity check that verifies that the module cache path is set
3correctly and points inside the default test build directory.
4"""
5
6
7import lldb
8import lldbsuite.test.lldbutil as lldbutil
9from lldbsuite.test.lldbtest import *
10
11
12class ModuleCacheSanityTestCase(TestBase):
13
14  NO_DEBUG_INFO_TESTCASE = True
15
16  def test(self):
17    self.expect(
18        'settings show symbols.clang-modules-cache-path',
19        substrs=['lldb-test-build.noindex', 'module-cache-lldb'])
20