/usr/share/augeas/lenses/dist/tests/test_simplelines.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 42 | (*
Module: Test_Simplelines
Provides unit tests and examples for the <Simplelines> lens.
*)
module Test_Simplelines =
(* Variable: conf *)
let conf = "# This is a comment
word
a line
indented line
with $péci@l cH@r2ct3rs
"
(* Test: Simplelines.lns *)
test Simplelines.lns get conf =
{ "#comment" = "This is a comment" }
{ }
{ "1" = "word" }
{ "2" = "a line" }
{ "3" = "indented line" }
{ "4" = "with $péci@l cH@r2ct3rs" }
(* Variable: cronallow *)
let cronallow = "# Test comment
#
user1
another
user2
"
(* Test: cron.allow file *)
test SimpleLines.lns get cronallow =
{ "#comment" = "Test comment" }
{ }
{ "1" = "user1" }
{ "2" = "another" }
{ }
{ "3" = "user2" }
|