inspec/test/unit/utils
Steven Danna b5cd64d16a Ignore comment lines in /etc/passwd
Most passwd/shadow implementations treat lines that start with '#' as
comments. For example, the implementation in OS X:

     if (buf[0] == '#') {
          /* skip comments for Rhapsody. */
          continue;
     }

https://opensource.apple.com/source/remote_cmds/remote_cmds-41/rpc_yppasswdd.tproj/passwd.c

Fixes #725

Signed-off-by: Steven Danna <steve@chef.io>
2016-08-16 10:54:52 +02:00
..
filter_array_test.rb unit test FilterArray, make retrieved values unique 2016-02-09 11:51:52 +01:00
filter_table_test.rb add simple style for filter table data 2016-05-31 03:01:03 +02:00
find_files_test.rb fix optional type argument handling 2015-12-04 14:27:32 +01:00
passwd_parser_test.rb Ignore comment lines in /etc/passwd 2016-08-16 10:54:52 +02:00
simpleconfig_test.rb move simple_config_test.rb to utils/ 2016-02-09 11:51:52 +01:00
solaris_netstat_parser.rb parse port information on solaris 10 and 11 via netstat 2016-01-28 18:30:38 +01:00