[1.9] During ci spec run, ENV is not getting reset properly
-----------------------------------------------------------
Key: JRUBY-4945
URL: http://jira.codehaus.org/browse/JRUBY-4945
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6
Reporter: Hiro Asari
Assignee: Thomas E Enebo
Currently, {{ant spec:ci_interpreted_19}} fails with errors from {{core/env}}.
If you run the {{ENV}} specs separately, all specs pass.
I tracked the problem down to interference from other specs, such as
{{library/cgi}} and {{core/encoding}}, that are setting values in {{ENV}} to a
potential {{nil}}, via lines such as
http://github.com/rubyspec/rubyspec/blob/master/core/encoding/locale_charmap_spec.rb#L45
and
http://github.com/rubyspec/rubyspec/blob/master/library/cgi/queryextension/content_type_spec.rb#L19
I thought about checking for {{nil}} in the offending specs, but MRI does not
exhibit this problem, so it must be a bug in JRuby. I just don't know where yet.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email