Bump to 1.14.1
[platform/upstream/augeas.git] / lenses / tests / test_koji.aug
1 (*
2 Module: Test_Koji
3   Provides unit tests and examples for the <Koji> lens.
4 *)
5
6 module Test_koji =
7
8   (* Variable: conf
9      A full koji.conf *)
10   let conf = "[koji]
11
12 ;configuration for koji cli tool
13
14 ;url of XMLRPC server
15 server = http://localhost/kojihub
16
17 ;url of web interface
18 weburl = http://localhost/koji
19
20 ;url of package download site
21 pkgurl = http://localhost/packages
22
23 ;path to the koji top directory
24 topdir = /mnt/koji
25
26 ;configuration for SSL athentication
27
28 ;client certificate
29 cert = /etc/pki/koji/kojiadm.pem
30
31 ;certificate of the CA that issued the client certificate
32 ca = /etc/pki/koji/koji_ca_cert.crt
33
34 ;certificate of the CA that issued the HTTP server certificate
35 serverca = /etc/pki/koji/koji_ca_cert.crt
36 "
37
38   test Koji.lns get conf =
39   { "section" = "koji"
40     {  }
41     { "#comment" = "configuration for koji cli tool" }
42     {  }
43     { "#comment" = "url of XMLRPC server" }
44     { "server" = "http://localhost/kojihub" }
45     {  }
46     { "#comment" = "url of web interface" }
47     { "weburl" = "http://localhost/koji" }
48     {  }
49     { "#comment" = "url of package download site" }
50     { "pkgurl" = "http://localhost/packages" }
51     {  }
52     { "#comment" = "path to the koji top directory" }
53     { "topdir" = "/mnt/koji" }
54     {  }
55     { "#comment" = "configuration for SSL athentication" }
56     {  }
57     { "#comment" = "client certificate" }
58     { "cert" = "/etc/pki/koji/kojiadm.pem" }
59     {  }
60     { "#comment" = "certificate of the CA that issued the client certificate" }
61     { "ca" = "/etc/pki/koji/koji_ca_cert.crt" }
62     {  }
63     { "#comment" = "certificate of the CA that issued the HTTP server certificate" }
64     { "serverca" = "/etc/pki/koji/koji_ca_cert.crt" }
65   }