This file is indexed.

/usr/share/augeas/lenses/dist/tests/test_ntpd.aug is in augeas-lenses 1.10.1-2.

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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
(*
Module: Test_Ntpd
  Provides unit tests for the <Ntpd> lens.
*)

module Test_ntpd =

test Ntpd.listen get "listen on *\n" =
  { "listen on"
    { "address" = "*" } }

test Ntpd.listen get "listen on 127.0.0.1\n" =
  { "listen on"
    { "address" = "127.0.0.1" } }

test Ntpd.listen get "listen on ::1\n" =
  { "listen on"
    { "address" = "::1" } }

test Ntpd.listen get "listen on ::1 rtable 4\n" =
  { "listen on"
    { "address" = "::1" }
    { "rtable" = "4" } }

test Ntpd.server get "server ntp.example.org\n" =
  { "server"
    { "address" = "ntp.example.org" } }

test Ntpd.server get "server ntp.example.org rtable 42\n" =
  { "server"
    { "address" = "ntp.example.org" }
    { "rtable" = "42" } }

test Ntpd.server get "server ntp.example.org weight 1 rtable 42\n" =
  { "server"
    { "address" = "ntp.example.org" }
    { "weight" = "1" }
    { "rtable" = "42" } }

test Ntpd.server get "server ntp.example.org weight 10\n" =
  { "server"
    { "address" = "ntp.example.org" }
    { "weight" = "10" } }


test Ntpd.sensor get "sensor *\n" =
  { "sensor"
    { "device" = "*" } }

test Ntpd.sensor get "sensor nmea0\n" =
  { "sensor"
    { "device" = "nmea0" } }

test Ntpd.sensor get "sensor nmea0 correction 42\n" =
  { "sensor"
    { "device" = "nmea0" }
    { "correction" = "42" } }

test Ntpd.sensor get "sensor nmea0 correction -42\n" =
  { "sensor"
    { "device" = "nmea0" }
    { "correction" = "-42" } }

test Ntpd.sensor get "sensor nmea0 correction 42 weight 2\n" =
  { "sensor"
    { "device" = "nmea0" }
    { "correction" = "42" }
    { "weight" = "2" } }

test Ntpd.sensor get "sensor nmea0 correction 42 refid Puffy\n" =
  { "sensor"
    { "device" = "nmea0" }
    { "correction" = "42" }
    { "refid" = "Puffy" } }

test Ntpd.sensor get "sensor nmea0 correction 42 stratum 2\n" =
  { "sensor"
    { "device" = "nmea0" }
    { "correction" = "42" }
    { "stratum" = "2" } }