Fixed Windows tests
dylanratcliffe
released this
01 Jul 16:00
·
129 commits
to master
since this release
The release fixes some common Windows test issues, namely:
NoMethodError:
undefined method `symlink?' for Puppet::Util::Windows::File:Module
# ./spec/fixtures/modules/acl/lib/puppet/provider/acl/windows.rb:58:in `validate'
# ./spec/fixtures/modules/acl/lib/puppet/type/acl.rb:376:in `block (2 levels) in <top (required)>'
# ./.bundle/ruby/2.5.0/gems/puppet-5.3.2/lib/puppet/type.rb:2398:in `initialize'
# ./spec/fixtures/modules/acl/lib/puppet/type/acl.rb:115:in `initialize'
# ./.bundle/ruby/2.5.0/gems/puppet-5.3.2/lib/puppet/resource.rb:460:in `new'
# ./.bundle/ruby/2.5.0/gems/puppet-5.3.2/lib/puppet/resource.rb:460:in `to_ral'
# ./.bundle/ruby/2.5.0/gems/puppet-5.3.2/lib/puppet/resource/catalog.rb:625:in `block in to_catalog'
# ./.bundle/ruby/2.5.0/gems/puppet-5.3.2/lib/puppet/resource/catalog.rb:617:in `each'
# ./.bundle/ruby/2.5.0/gems/puppet-5.3.2/lib/puppet/resource/catalog.rb:617:in `to_catalog'
# ./.bundle/ruby/2.5.0/gems/puppet-5.3.2/lib/puppet/resource/catalog.rb:498:in `to_ral'
# ./.bundle/ruby/2.5.0/gems/rspec-puppet-2.6.11/lib/rspec-puppet/matchers/compile.rb:142:in `cycles_found?'
# ./.bundle/ruby/2.5.0/gems/rspec-puppet-2.6.11/lib/rspec-puppet/matchers/compile.rb:25:in `matches?'
# ./spec/classes/role/sqlserver_spec.rb:55:in `block (5 levels) in <top (required)>'
and #269
undefined method `name_to_principal' for Puppet::Util::Windows::SID:Module