/usr/share/augeas/lenses/dist/tests/test_networkmanager.aug is in augeas-lenses 1.2.0-0ubuntu1.3.
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | (*
Module: Test_NetworkManager
Provides unit tests and examples for the <NetworkManager> lens.
*)
module Test_NetworkManager =
(* Variable: conf *)
let conf = "[connection]
id=wifoobar
uuid=16fa8830-cf15-4523-8c1f-c6c635246855
permissions=user:foo:;
type=802-11-wireless
[802-11-wireless]
ssid=wifoobar
mode=infrastructure
mac-address=11:00:99:33:33:AA
security=802-11-wireless-security
[802-11-wireless-security]
key-mgmt=none
wep-key0=123abc123abc
[ipv4]
method=auto
[ipv6]
method=auto
[vpn]
NAT Traversal Mode=natt
DPD idle timeout (our side)=0\n"
(* Test: NetworkManager.lns *)
test NetworkManager.lns get conf =
{ "connection"
{ "id" = "wifoobar" }
{ "uuid" = "16fa8830-cf15-4523-8c1f-c6c635246855" }
{ "permissions" = "user:foo:;" }
{ "type" = "802-11-wireless" }
{ }
}
{ "802-11-wireless"
{ "ssid" = "wifoobar" }
{ "mode" = "infrastructure" }
{ "mac-address" = "11:00:99:33:33:AA" }
{ "security" = "802-11-wireless-security" }
{ }
}
{ "802-11-wireless-security"
{ "key-mgmt" = "none" }
{ "wep-key0" = "123abc123abc" }
{ }
}
{ "ipv4"
{ "method" = "auto" }
{ }
}
{ "ipv6"
{ "method" = "auto" }
{ }
}
{ "vpn"
{ "NAT Traversal Mode" = "natt" }
{ "DPD idle timeout (our side)" = "0" }
}
|