PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/ |
| Server: Linux server1.ngambekcore.com 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 04:00:07 EDT 2025 x86_64 IP: 159.198.77.92 |
| Dir : //opt/puppetlabs/puppet/share/augeas/lenses/dist/tests/test_simplelines.aug |
(*
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" }