/usr/share/augeas/lenses/dist/tests/test_backuppchosts.aug is in augeas-lenses 1.4.0-0ubuntu1.1.
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 | module Test_BackupPCHosts =
let conf = "host dhcp user moreUsers
hostname1 0 user1 anotheruser,athirduser
hostname2 1 user2 stillanotheruser\n"
test BackupPCHosts.lns get conf =
{ "1"
{ "host" = "host" }
{ "dhcp" = "dhcp" }
{ "user" = "user" }
{ "moreusers" = "moreUsers" }
}
{ "2"
{ "host" = "hostname1" }
{ "dhcp" = "0" }
{ "user" = "user1" }
{ "moreusers" = "anotheruser" }
{ "moreusers" = "athirduser" }
}
{ "3"
{ "host" = "hostname2" }
{ "dhcp" = "1" }
{ "user" = "user2" }
{ "moreusers" = "stillanotheruser" }
}
|