aboutsummaryrefslogtreecommitdiff
path: root/textproc/augeas/files/test_rcconf.aug
blob: df46447b45e17d6b292b0adcef48567109326216 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module Test_RcConf =
	let conf = "# /etc/rc.conf

hostname=\"host.domain\"
defaultrouter=\"4.3.2.1\"
ipv4_addrs_em0=\"4.3.2.2/24\"

foo_enable=\"YES\"
foo_flags=\"-a --foobar\"
bar_enable=\"NO\"
bar_flags=\"\"
"

	test RcConf.lns get conf =
		{ "#comment" = "/etc/rc.conf" }
		{}
		{ "hostname" = "host.domain" }
		{ "defaultrouter" = "4.3.2.1" }
		{ "ipv4_addrs_em0" = "4.3.2.2/24" }
		{}
		{ "foo_enable" = "YES" }
		{ "foo_flags" = "-a --foobar" }
		{ "bar_enable" = "NO" }
		{ "bar_flags" = "" }