403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.139.104.23
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/test_bootconf.aug
(*
Module: Test_BootConf
  Provides unit tests for the <BootConf> lens.
*)

module Test_bootconf =

test BootConf.boot get "boot /bsd -s\n" =
  { "boot"
    { "image" = "/bsd" }
    { "arg" = "-s" } }

test BootConf.echo get "echo 42\n" =
  { "echo" = "42" }

test BootConf.ls get "ls /\n" = 
  { "ls" = "/" }

test BootConf.ls get "ls //\n" = 
  { "ls" = "//" }

test BootConf.ls get "ls /some/path/\n" = 
  { "ls" = "/some/path/" }

test BootConf.machine get "machine diskinfo\n" =
  { "machine"
    { "diskinfo" } }

test BootConf.machine get "machine comaddr 0xdeadbeef\n" =
  { "machine"
    { "comaddr" = "0xdeadbeef" } } 

test BootConf.set get "set tty com0\n" =
  { "set"
    { "tty" = "com0" } }

test BootConf.single_command get "help\n" =
  { "help" }

test BootConf.stty get "stty /dev/cuaU0 115200\n" =
  { "stty"
    { "device" = "/dev/cuaU0" }
    { "speed" = "115200" } }

test BootConf.stty get "stty /dev/cuaU0\n" =
  { "stty"
    { "device" = "/dev/cuaU0" } }

Youez - 2016 - github.com/yon3zu
LinuXploit