/usr/share/augeas/lenses/dist/tests/test_apt_update_manager.aug is in augeas-lenses 1.4.0-0ubuntu1.
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 | (*
Module: Test_Apt_Update_Manager
Provides unit tests and examples for the <Apt_Update_Manager> lens.
*)
module Test_Apt_Update_Manager =
(* Variable: meta_release *)
let meta_release = "# default location for the meta-release file
[METARELEASE]
URI = http://changelogs.ubuntu.com/meta-release
URI_LTS = http://changelogs.ubuntu.com/meta-release-lts
URI_UNSTABLE_POSTFIX = -development
URI_PROPOSED_POSTFIX = -proposed
"
(* Test: Apt_Update_Manager.lns *)
test Apt_Update_Manager.lns get meta_release =
{ "#comment" = "default location for the meta-release file" }
{ }
{ "METARELEASE"
{ "URI" = "http://changelogs.ubuntu.com/meta-release" }
{ "URI_LTS" = "http://changelogs.ubuntu.com/meta-release-lts" }
{ "URI_UNSTABLE_POSTFIX" = "-development" }
{ "URI_PROPOSED_POSTFIX" = "-proposed" }
}
(* Variable: release_upgrades *)
let release_upgrades = "# Default behavior for the release upgrader.
[DEFAULT]
Prompt=lts
"
(* Test: Apt_Update_Manager.lns *)
test Apt_Update_Manager.lns get release_upgrades =
{ "#comment" = "Default behavior for the release upgrader." }
{ }
{ "DEFAULT"
{ "Prompt" = "lts" }
}
|