Bump to 1.14.1
[platform/upstream/augeas.git] / lenses / tests / test_login_defs.aug
1 (*
2 Module: Test_login_defs
3   Test cases for the login_defs lense
4
5 Author: Erinn Looney-Triggs
6
7 About: License
8   This file is licensed under the LGPLv2+, like the rest of Augeas.
9 *)
10 module Test_login_defs =
11
12 let record = "MAIL_DIR        /var/spool/mail
13 ENCRYPT_METHOD SHA512 
14 UMASK           077
15 "
16
17 test Login_defs.lns get record =
18     { "MAIL_DIR" = "/var/spool/mail" } 
19     { "ENCRYPT_METHOD" = "SHA512" }
20     { "UMASK" = "077" }
21
22 let comment ="# *REQUIRED*
23 "
24
25 test Login_defs.lns get comment = 
26   {"#comment" = "*REQUIRED*"}