mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
7bb7767dae
* Add nil check for sshd config file This fixes #1778. There was a issue where if the user did not have read permissions on /etc/ssh/sshd_config it would error out on the empty? check. The fix here is to also look for nil on the file content. Along with this I refactored the inspec file empty? check as it does not exist and was also erroring during my testing. Signed-off-by: Jared Quick <jquick@chef.io> * Add emptyfile test object and refactor tests Signed-off-by: Jared Quick <jquick@chef.io> |
||
---|---|---|
.. | ||
cookbooks/os_prepare | ||
functional | ||
integration | ||
unit | ||
docker_run.rb | ||
docker_test.rb | ||
helper.rb |