Imported Upstream version 1.9.0
[platform/upstream/augeas.git] / lenses / tests / test_oz.aug
1 module Test_oz =
2
3    let conf = "
4 [paths]
5 output_dir = /var/lib/libvirt/images
6 data_dir = /var/lib/oz
7
8 [libvirt]
9 uri = qemu:///system
10 image_type = raw
11 "
12
13    test Oz.lns get conf =
14       {}
15       { "paths"
16          { "output_dir" = "/var/lib/libvirt/images" }
17          { "data_dir" = "/var/lib/oz" }
18          {} }
19       { "libvirt"
20          { "uri" = "qemu:///system" }
21          { "image_type" = "raw" }
22          }
23
24     test Oz.lns put conf after
25        set "libvirt/cpus" "2"
26     = "
27 [paths]
28 output_dir = /var/lib/libvirt/images
29 data_dir = /var/lib/oz
30
31 [libvirt]
32 uri = qemu:///system
33 image_type = raw
34 cpus=2
35 "
36