[augeas-devel] [Augeas] #311: dhcpd.conf subnet filename setting is not quoted
Augeas
trac at fedorahosted.org
Fri Dec 14 12:18:28 UTC 2012
#311: dhcpd.conf subnet filename setting is not quoted
----------------------+------------------------------
Reporter: mfrisch | Owner: lutter
Type: defect | Status: new
Priority: minor | Milestone: next
Component: Augeas | Version: devel
Resolution: | Keywords: dhcpd dhcpd.conf
Blocked By: | Blocking:
----------------------+------------------------------
Changes (by mfo):
* version: 0.9.0 => devel
Comment:
I confirm this bug. Here is a test for it:
{{{
(* bug #311: filename should be quoted *)
let input311 = "subnet 172.16.0.0 netmask 255.255.255.0 {
filename \"pxelinux.0\";
}
"
test Dhcpd.lns put "subnet 172.16.0.0 netmask 255.255.255.0 {
}" after
set "subnet/filename" "pxelinux.0" = input311
}}}
Which fails as mentioned:
{{{
Test failure:tests/test_dhcpd.aug:393.0-395.47:
Expected:
"subnet 172.16.0.0 netmask 255.255.255.0 {
filename "pxelinux.0";
}
"
Actual:
"subnet 172.16.0.0 netmask 255.255.255.0 {
filename pxelinux.0;
}"
Syntax error in lens definition
Failed to load tests/test_dhcpd.aug
}}}
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/311#comment:1>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list