Server IP : 104.21.14.103 / Your IP : 3.138.126.169 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/ |
Upload File : |
module Test_securetty = (* basic test *) let basic = "tty0\ntty1\ntty2\n" (* declare the lens to test and the resulting tree *) test Securetty.lns get basic = { "1" = "tty0" } { "2" = "tty1" } { "3" = "tty2" } (* complete test *) let complete = "# some comment tty0 # X11 display :0.0 console # allow root from console " (* declare the lens to test and the resulting tree *) test Securetty.lns get complete = { "#comment" = "some comment" } {} { "1" = "tty0" } { "#comment" = "X11 display" } { "2" = ":0.0" } {} { "3" = "console" { "#comment" = "allow root from console" } }