inspec/test/unit/mock/files
Adam Leff c383175417 Support mixed-case group entries (#2101)
* Support mixed-case group entries

The `group` resource downcased the input parameter unless the target
was a Windows node. However, it's completely legitimate for a Unix-y
node to have mixed case group and passwd entries.

This change does have the potential to break people that did not carefully
match their case when searching for a group, but we're currently blocking
people from using the group resource properly if they have mixed-case
entries.

Signed-off-by: Adam Leff <adam@leff.co>

* Fix unit tests

Signed-off-by: Adam Leff <adam@leff.co>
2017-08-30 22:02:45 +02:00
..
9.5.main New postgres_ident_conf resource (#1963) 2017-07-03 20:01:40 +02:00
var.9.5.main New postgres_ident_conf resource (#1963) 2017-07-03 20:01:40 +02:00
xinetd.d filter xinetd fields by regex 2016-02-26 14:46:51 +01:00
aide.conf aide_conf resource: test configuration of the AIDE file integrity tool (#2063) 2017-08-25 22:13:43 +02:00
apache2.conf [resources/apache_conf]: add tests, fix bug 2015-12-07 10:50:48 +01:00
auditd.conf add audit_daemon resource test cases 2015-09-21 14:12:11 +02:00
bond0 move mock files to new sub-directory 2015-09-21 13:43:09 +02:00
default.toml Adding toml resource (#1924) 2017-06-15 16:54:12 -04:00
dh_params.dh_pem Fix #1617 Add dh_params resource (#1618) 2017-04-04 10:34:09 -04:00
etcgroup Support mixed-case group entries (#2101) 2017-08-30 22:02:45 +02:00
example.csv Fix ObjectTraverser when accessing array values 2017-03-15 11:35:55 +01:00
grub.conf added tests for grub_conf resource 2016-04-17 10:46:29 -04:00
httpd.conf Added unit tests for apache_conf inclusion of symlinked files. 2017-02-24 16:13:22 +11:00
inetd.conf add unit test for inetd_conf 2015-09-21 14:05:42 +02:00
kitchen.yml extend yaml tests, remove dot-resolver 2015-10-27 15:58:02 +01:00
limits.conf add unit test for limits.conf 2015-09-21 14:03:24 +02:00
login.defs add login_def resource unit test 2015-09-21 14:01:51 +02:00
mysql.conf add mysql unit tests 2015-09-22 02:15:42 +02:00
mysql2.conf add mysql unit tests 2015-09-22 02:15:42 +02:00
nginx.conf add nginx_conf resource (#1889) 2017-06-26 06:37:41 -07:00
nginx_failed.conf add nginx_conf resource (#1889) 2017-06-26 06:37:41 -07:00
nginx_mime.types add nginx_conf resource (#1889) 2017-06-26 06:37:41 -07:00
nginx_proxy.conf add nginx_conf resource (#1889) 2017-06-26 06:37:41 -07:00
ntp.conf add ntp unit test 2015-09-21 13:57:42 +02:00
passwd expose all fields + deprecate singular accessors 2016-02-18 16:10:42 +01:00
pg_hba.conf New postgres_hba_conf resource (#1964) 2017-07-03 20:13:51 +02:00
pg_ident.conf New postgres_ident_conf resource (#1963) 2017-07-03 20:01:40 +02:00
policyfile.lock.json extend json tests, remove dot-resolver 2015-10-27 15:58:02 +01:00
ports.conf [resources/apache_conf]: add tests, fix bug 2015-12-07 10:50:48 +01:00
postgresql.conf Fixes the postgres_conf parsing of complex paramerters (#1938) 2017-06-23 08:31:27 -07:00
rabbitmq.config add rabbitmq config resource 2017-04-12 20:51:12 +02:00
rootwrap.conf implement unit tests for ini resource 2015-11-24 16:46:17 +01:00
security.conf Added unit tests for apache_conf inclusion of symlinked files. 2017-02-24 16:13:22 +11:00
serve-cgi-bin.conf [resources/apache_conf]: add tests, fix bug 2015-12-07 10:50:48 +01:00
shadow add shadow resource for /etc/shadow 2016-02-19 14:26:04 +01:00
ssh_config ssh_config parse should be case insensitive 2016-08-16 10:01:10 +02:00
sshd_config move mock files to new sub-directory 2015-09-21 13:43:09 +02:00
ssl.conf added unit tests 2016-09-02 21:55:28 -04:00
status.conf In ApacheConf#include_files, check for abs paths 2016-09-20 09:11:09 -04:00
sysctl.conf add params and content method to parse_config 2016-08-05 12:13:56 +02:00
test_ca_public.key.pem Initial support for x509_certificate and rsa_key 2017-03-22 10:00:48 +01:00
test_certificate.rsa.crt.pem Initial support for x509_certificate and rsa_key 2017-03-22 10:00:48 +01:00
test_certificate.rsa.key.pem Initial support for x509_certificate and rsa_key 2017-03-22 10:00:48 +01:00
xinetd.conf add xinetd_conf resource 2016-02-26 13:19:16 +01:00
xinetd.d_chargen-dgram catch newline issues in xinet.d (#2043) 2017-08-02 16:43:55 +02:00
xinetd.d_chargen-stream define protocol as done in CentOS 2017-01-31 14:47:21 +00:00
xinetd.d_echo Fix xinetd parsing of services from the same file. Expose resource.protocols 2017-01-31 12:40:29 +00:00