Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Incomplete
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:JRuby trunk, Java 6, WinXP
-
Number of attachments :
Description
[junit] Testsuite: org.jruby.test.MainTestSuite
[junit] Tests run: 232, Failures: 0, Errors: 0, Time elapsed: 24.516 sec
[junit] Testsuite: org.jruby.test.ScriptTestSuite
[junit] Tests run: 16, Failures: 1, Errors: 0, Time elapsed: 9.219 sec
[junit] Testcase: mri/sample/test.rb(org.jruby.test.ScriptTestSuite$ScriptTest): FAILED
[junit] test\mri\sample\test.rb failed, complete failure list follows:
[junit] FAILED path 20 – ./test\mri\sample\test.rb:1994
[junit] FAILED path 21 – ./test\mri\sample\test.rb:1996
[junit] junit.framework.AssertionFailedError: test\mri\sample\test.rb failed, complete failure list follows:
If I comment out those two tests, it then moves on to this failure in test\testFile.rb:
run-junit-compiled: [junit] Testsuite: org.jruby.test.MainTestSuite [junit] Tests run: 232, Failures: 0, Errors: 0, Time elapsed: 26.656 sec [junit] Testsuite: org.jruby.test.ScriptTestSuite [junit] Tests run: 36, Failures: 1, Errors: 0, Time elapsed: 23.828 sec [junit] Testcase: testFile.rb(org.jruby.test.ScriptTestSuite$ScriptTest): FAILED [junit] test\testFile.rb failed, complete failure list follows: [junit] EXCEPTION raised Test File 14 -- [junit] Exception: java.lang.IllegalArgumentException: Neither current working directory (/f oo/bar) nor pathname (../../bin) led to an absolute path [junit] JRubyFile.java:51:in `org.jruby.util.JRubyFile.create' [junit] RubyFile.java:663:in `org.jruby.RubyFile.expand_path' [junit] null:-1:in `org.jruby.RubyFileInvokerSexpand_pathxx1.call' [junit] FastInvocationCallback.java:49:in `org.jruby.runtime.callback.FastInvocationCallback .execute' [junit] SimpleCallbackMethod.java:81:in `org.jruby.internal.runtime.methods.SimpleCallbackMe thod.call'run-junit-compiled: [junit] Testsuite: org.jruby.test.MainTestSuite [junit] Tests run: 232, Failures: 0, Errors: 0, Time elapsed: 26.656 sec [junit] Testsuite: org.jruby.test.ScriptTestSuite [junit] Tests run: 36, Failures: 1, Errors: 0, Time elapsed: 23.828 sec [junit] Testcase: testFile.rb(org.jruby.test.ScriptTestSuite$ScriptTest): FAILED [junit] test\testFile.rb failed, complete failure list follows: [junit] EXCEPTION raised Test File 14 -- [junit] Exception: java.lang.IllegalArgumentException: Neither current working directory (/f oo/bar) nor pathname (../../bin) led to an absolute path [junit] JRubyFile.java:51:in `org.jruby.util.JRubyFile.create' [junit] RubyFile.java:663:in `org.jruby.RubyFile.expand_path' [junit] null:-1:in `org.jruby.RubyFileInvokerSexpand_pathxx1.call' [junit] FastInvocationCallback.java:49:in `org.jruby.runtime.callback.FastInvocationCallback .execute' [junit] SimpleCallbackMethod.java:81:in `org.jruby.internal.runtime.methods.SimpleCallbackMe thod.call'