inspec/test/helpers
Sonu Saha d4fdf146dc
CHEF-15083: Update groups resource to use getent utility to fetch groups info (#7284)
* enhance: update groups resource to use getent utility to fetch groups info

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* spec: add mock call for getent

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* spec: update mockloader to mock tool exist check for getent

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* enhance: some refactoring & implementing fallback using inspec.etc_group.entries

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2025-02-03 17:40:24 +05:30
..
mock_loader.rb CHEF-15083: Update groups resource to use getent utility to fetch groups info (#7284) 2025-02-03 17:40:24 +05:30
resources.rb CFINSPEC-154: Updates postgres_session resource to raise exception only in case of connection and authentication error and allow any errors in query to be fetched using output property(keeping earlier behaviour). 2022-03-22 15:12:44 +05:30
simplecov_minitest.rb Configure SimpleCov to no longer use at_exit hack; use JSON reporter 2022-02-06 22:09:38 -05:00