/usr/share/augeas/lenses/dist/tests/test_oz.aug is in augeas-lenses 1.10.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | module Test_oz =
let conf = "
[paths]
output_dir = /var/lib/libvirt/images
data_dir = /var/lib/oz
[libvirt]
uri = qemu:///system
image_type = raw
"
test Oz.lns get conf =
{}
{ "paths"
{ "output_dir" = "/var/lib/libvirt/images" }
{ "data_dir" = "/var/lib/oz" }
{} }
{ "libvirt"
{ "uri" = "qemu:///system" }
{ "image_type" = "raw" }
}
test Oz.lns put conf after
set "libvirt/cpus" "2"
= "
[paths]
output_dir = /var/lib/libvirt/images
data_dir = /var/lib/oz
[libvirt]
uri = qemu:///system
image_type = raw
cpus=2
"
|