Sharp.Augeas/Sharp.Augeas.Test/lens/tests/test_avahi.aug

35 lines
545 B
Plaintext
Raw Permalink Normal View History

2022-11-08 20:57:02 +03:00
module Test_avahi =
let conf = "
[server]
host-name=web
domain=example.com
[wide-area]
enable-wide-area=yes
"
test Avahi.lns get conf =
{}
{ "server"
{ "host-name" = "web" }
{ "domain" = "example.com" }
{} }
{ "wide-area"
{ "enable-wide-area" = "yes" } }
test Avahi.lns put conf after
set "server/use-ipv4" "yes";
set "server/clients-max" "4096"
= "
[server]
host-name=web
domain=example.com
use-ipv4=yes
clients-max=4096
[wide-area]
enable-wide-area=yes
"