Issue #2541 has been updated by Luke Kanies. Category set to parser Status changed from Needs design decision to Accepted Assigned to changed from Luke Kanies to Markus Roberts
Is either of these a change in behaviour? Retrieving a class by name should definitely be case insensitive, although it's the Reference class that should be modified to make it so, rather than the Catalog class. If we couldn't previously load files case insensitively, then we shouldn't do so now. ---------------------------------------- Bug #2541: Autoload case sensitivity test failures http://projects.reductivelabs.com/issues/2541 Author: Markus Roberts Status: Accepted Priority: Normal Assigned to: Markus Roberts Category: parser Target version: 0.25.0 Complexity: Unknown Affected version: 0.25.0 Keywords: While working on #2520 this evening I started getting the following errors which now seem persistent: <pre> 1) 'Puppet::Util::Autoload should successfully load a file with a mixed case name' FAILED expected true, got false ./spec/integration/util/autoload.rb:75: ./spec/integration/util/autoload.rb:33:in `with_file' ./spec/integration/util/autoload.rb:74: ./spec/integration/util/autoload.rb:44:in `with_loader' ./spec/integration/util/autoload.rb:73: ./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' ./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' ./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 2) 'the include function should find a file with an all lowercase name given a mixed case name' FAILED expected true, got false ./spec/integration/parser/functions/require.rb:71: ./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' ./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' ./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' </pre> I have been pulling and installing HEAD regularly. This may be related to #2493 (an analogous bug, or regression caused by the fix) or it may be independent. It may even be a test-ordering problem. I'm at the end of my cognitively effective day; I'll look at it more tomorrow. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
