inspec/test/helpers
Lance Albertson a6cff007ed Fix Windows escaping of Windows package names
This resolves #5235 and supersedes #5238.

Instead of using `-match` use `-like` when querying the Windows registry. This
completely removes the problem of trying to clean the string for a regex and
just let's Powershell do that with `-like`.

I confirmed this works with the use case of having a package name such as
`Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29325` work as-is
without any modification.

Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-11-30 18:02:50 -08:00
..
mock_loader.rb Fix Windows escaping of Windows package names 2020-11-30 18:02:50 -08:00
resources.rb Fixed users resource when "Last password change" is "never". 2019-10-23 16:49:49 -07:00
simplecov_minitest.rb chefstyle -a; https://github.com/chef/chefstyle/pull/74 2019-07-08 17:22:50 -07:00