This file is indexed.

/usr/share/doc/cl-asdf/examples/test-module-pathnames.script is in cl-asdf 2:2.20-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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
;;; -*- Lisp -*-
(load "script-support.lisp")
(load-asdf)

(quit-on-error
 (setf asdf:*central-registry* '(*default-pathname-defaults*))
 (asdf:load-system 'test-module-pathnames)
 (flet ((submodule (module name)
          (find name (asdf:module-components module)
                :key #'asdf:component-name :test #'equal))
        (pathname-foo (x)
          (list (pathname-directory x) (pathname-name x) (pathname-type x))))
   (let* ((system (asdf:find-system "test-module-pathnames"))
          (level1 (submodule system "sources/level1"))
          (static (submodule level1 "level2/static.file"))
          (test-tmp (submodule level1 "test-tmp.cl")))
     (assert (member (pathname-foo (asdf:component-relative-pathname test-tmp))
                     '(((:relative) "test-tmp" "cl")
                       (nil "test-tmp" "cl")) :test 'equal)
             () "Didn't get the name of test-tmp.cl right")
     (assert (equal
              (pathname-foo (asdf:component-relative-pathname static))
              '((:relative "level2") "static" "file"))
             () "Didn't get the name of static.file right")))
 (assert (find-package :test-package)
         () "package test-package not found")
 (assert (find-symbol (symbol-name '*file-tmp*) :test-package)
         () "symbol `*file-tmp*` not found")
 (assert (symbol-value (find-symbol (symbol-name '*file-tmp*) :test-package))
         () "symbol `*file-tmp*` has wrong value")

#| ; must be adapted to ABL
 (assert (probe-file (merge-pathnames
                      (make-pathname
                       :name "file1"
                       :type (pathname-type (compile-file-pathname "x"))
                       :directory '(:relative "sources" "level1"))))
         nil "compiled file not found")
|#

 (assert (find-symbol (symbol-name '*file-tmp2*) :test-package) nil
         "symbol `*file-tmp2*` not found")
 (assert (symbol-value (find-symbol (symbol-name '*file-tmp2*) :test-package))
         nil "symbol `*file-tmp2*` has wrong value")

#| ; must be adapted to ABL

 (assert (probe-file (merge-pathnames
                      (make-pathname
                       :name "file2"
                       :type (pathname-type (compile-file-pathname "x"))
                       :directory '(:relative "sources" "level1" "level2"))))
         nil "compiled file not found")
|#

)