This file is indexed.

/usr/share/dune/cmake/scripts/FindFiles.cmake is in libdune-common-dev 2.4.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#Do not follow symlinks during FILE GLOB_RECURSE
cmake_policy(SET CMP0009 NEW)
file(GLOB_RECURSE makefiles RELATIVE ${RELPATH} "CMakeLists.txt")
foreach(_file ${makefiles})
  # path contains "/test" or is directly "test"
  string(REGEX MATCH "^(.*/)*test" _testdir ${_file})
  # path end with "/test" and not "/testFoo" or "/test/foo"
  string(REGEX MATCH "(.*/)*test/CMakeLists.txt$" _testdirensured ${_file})
  if(_testdir AND _testdirensured)
    list(APPEND _makefiles ${_testdir})
  endif(_testdir AND _testdirensured)
endforeach(_file ${makefiles})
if(_makefiles)
  message("${_makefiles}")
endif(_makefiles)