[augeas-devel] [PATCH 0 of 4] [hosts.aug] Fix and improve hosts.aug

David Lutterkort dlutter at redhat.com
Tue Aug 12 19:06:33 UTC 2008


Actually, I also had to fix up one of the roundtrip tests
(test/rec-hosts-rm-hosts.rb) - that shows the downside of exposing
comments in the tree: the test used to do 'rm /files/etc/hosts/*' which
used to only delete the lines with actual host entries from the file and
leave comment behind. Now it needs to 

        rm /files/etc/hosts/1
        rm /files/etc/hosts/2
        
That's probably not an important issue in practice, but something to
keep in mind.

David





More information about the augeas-devel mailing list