Bump to 1.14.1
[platform/upstream/augeas.git] / lenses / tests / test_iproute2.aug
1 module Test_IPRoute2 =
2
3 let conf = "
4 # /etc/iproute2/rt_tables
5 #
6 # reserved values
7 #
8 255     local
9 254     main
10 253     default
11 0       unspec
12 #
13 # local
14 #
15 #1      inr.ruhep
16 200     h3g0
17 201     adsl1
18 202     adsl2
19 203     adsl3
20 204     adsl4
21 205     wifi0
22 #
23 # From rt_dsfield
24 #
25 0x00  default
26 0x80  flash-override
27
28 # From rt_protos
29 #
30 254 gated/aggr
31 253 gated/bgp
32 "
33
34 test IPRoute2.lns get conf =
35   { }
36   { "#comment" = "/etc/iproute2/rt_tables" }
37   { }
38   { "#comment" = "reserved values" }
39   { }
40   { "255" = "local" }
41   { "254" = "main" }
42   { "253" = "default" }
43   { "0" = "unspec" }
44   { }
45   { "#comment" = "local" }
46   { }
47   { "#comment" = "1     inr.ruhep" }
48   { "200" = "h3g0" }
49   { "201" = "adsl1" }
50   { "202" = "adsl2" }
51   { "203" = "adsl3" }
52   { "204" = "adsl4" }
53   { "205" = "wifi0" }
54   { }
55   { "#comment" = "From rt_dsfield" }
56   { }
57   { "0x00" = "default" }
58   { "0x80" = "flash-override" }
59   { }
60   { "#comment" = "From rt_protos" }
61   { }
62   { "254" = "gated/aggr" }
63   { "253" = "gated/bgp" }