%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/augeas/lenses/dist/tests/ |
Upload File : |
(* 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" } }