projects
/
platform
/
upstream
/
augeas.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump to 1.14.1
[platform/upstream/augeas.git]
/
lenses
/
tests
/
test_avahi.aug
1
module Test_avahi =
2
3
let conf = "
4
[server]
5
host-name=web
6
domain=example.com
7
8
[wide-area]
9
enable-wide-area=yes
10
"
11
12
test Avahi.lns get conf =
13
{}
14
{ "server"
15
{ "host-name" = "web" }
16
{ "domain" = "example.com" }
17
{} }
18
{ "wide-area"
19
{ "enable-wide-area" = "yes" } }
20
21
test Avahi.lns put conf after
22
set "server/use-ipv4" "yes";
23
set "server/clients-max" "4096"
24
= "
25
[server]
26
host-name=web
27
domain=example.com
28
29
use-ipv4=yes
30
clients-max=4096
31
[wide-area]
32
enable-wide-area=yes
33
"
34