[1.9, windows] Lots of Kernel.requre rubyspec failures ------------------------------------------------------
Key: JRUBY-4651 URL: http://jira.codehaus.org/browse/JRUBY-4651 Project: JRuby Issue Type: Bug Components: Core Classes/Modules, Ruby 1.9, RubySpec, Windows Affects Versions: JRuby 1.4 Reporter: Vladimir Sizikov Priority: Critical Fix For: JRuby 1.5 Marking as critical for 1.5. The fix should be pretty straightforward. Looks like '/' vs '\' issue. {noformat} mspec ci -t j -T --1.9 core\kernel\ jruby 1.5.0.dev (ruby 1.9.2dev trunk 24787) (2010-03-13 96c1df8) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java] ..................................................................................F.................................. 1) Kernel#require ($LOAD_FEATURES) stores an absolute path FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:295 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 2) Kernel#require ($LOAD_FEATURES) stores ../ relative paths as absolute paths FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:397 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 3) Kernel#require ($LOAD_FEATURES) stores ./ relative paths as absolute paths FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:404 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 4) Kernel#require ($LOAD_FEATURES) collapses duplicate path separators FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:414 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 5) Kernel#require ($LOAD_FEATURES) canonicalizes non-unique absolute paths FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:421 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 6) Kernel#require ($LOAD_FEATURES) adds the suffix of the resolved filename FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:427 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 7) Kernel#require ($LOAD_FEATURES) does not load a non-canonical path for a file already loaded FAILED Expected true to be false D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:433 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 8) Kernel#require ($LOAD_FEATURES) does not load a ./ relative path for a file already loaded FAILED Expected true to be false D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:441 D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:440:in `chdir' D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:440 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 9) Kernel#require ($LOAD_FEATURES) does not load a ../ relative path for a file already loaded FAILED Expected true to be false D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:450 D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:449:in `chdir' D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:449 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 10) Kernel#require (shell expansion) performs tilde expansion before storing paths in $LOADED_FEATURES FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:478 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:5 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 11) Kernel.require ($LOAD_FEATURES) stores an absolute path FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:295 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 12) Kernel.require ($LOAD_FEATURES) stores ../ relative paths as absolute paths FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:397 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 13) Kernel.require ($LOAD_FEATURES) stores ./ relative paths as absolute paths FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:404 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 14) Kernel.require ($LOAD_FEATURES) collapses duplicate path separators FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:414 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 15) Kernel.require ($LOAD_FEATURES) canonicalizes non-unique absolute paths FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:421 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 16) Kernel.require ($LOAD_FEATURES) adds the suffix of the resolved filename FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:427 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 17) Kernel.require ($LOAD_FEATURES) does not load a non-canonical path for a file already loaded FAILED Expected true to be false D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:433 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 18) Kernel.require ($LOAD_FEATURES) does not load a ./ relative path for a file already loaded FAILED Expected true to be false D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:441 D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:440:in `chdir' D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:440 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 19) Kernel.require ($LOAD_FEATURES) does not load a ../ relative path for a file already loaded FAILED Expected true to be false D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:450 D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:449:in `chdir' D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:449 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 20) Kernel.require (shell expansion) performs tilde expansion before storing paths in $LOADED_FEATURES FAILED Expected ["D:\\work\\jruby-dev\\rubyspec.git\\fixtures\\code\\load_fixture.rb"] to equal ["D:/work/jruby-dev/rubyspec.git/fixtures/code/load_fixture.rb"] D:/work/jruby-dev/rubyspec.git/core/kernel/shared/require.rb:478 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:24 D:/work/jruby-dev/rubyspec.git/core/kernel/require_spec.rb:56:in `load' D:/work/jruby-dev/mspec.git/bin/mspec-ci:8 Finished in 4.617000 seconds 117 files, 1075 examples, 3773 expectations, 20 failures, 0 errors {noformat} -- 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