2 Module: Test_login_defs
3 Test cases for the login_defs lense
5 Author: Erinn Looney-Triggs
8 This file is licensed under the LGPLv2+, like the rest of Augeas.
10 module Test_login_defs =
12 let record = "MAIL_DIR /var/spool/mail
17 test Login_defs.lns get record =
18 { "MAIL_DIR" = "/var/spool/mail" }
19 { "ENCRYPT_METHOD" = "SHA512" }
22 let comment ="# *REQUIRED*
25 test Login_defs.lns get comment =
26 {"#comment" = "*REQUIRED*"}