test_dir fails under Windows
----------------------------
Key: JRUBY-1696
URL: http://jira.codehaus.org/browse/JRUBY-1696
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1
Environment: trunk, WinXP, Java 1.6
Reporter: Bill Dortch
test_dir fails under Window, in test_pathname_realpath_works_with_drive_letters
{noformat}
[junit] Testsuite: org.jruby.test.JRubyTestSuite
[junit] Failure:
[junit] test_pathname_realpath_works_with_drive_letters(TestDir)
[./test\test_dir.rb:114]:
[junit] Exception raised:
[junit] Class: <NoMethodError>
[junit] Message: <"undefined method `readlink' for File:Class">
[junit] ---Backtrace---
[junit] C:/jruby/trunk/lib/ruby/1.8/pathname.rb:423:in `realpath_rec'
[junit] C:/jruby/trunk/lib/ruby/1.8/pathname.rb:453:in `realpath'
[junit] ./test\test_dir.rb:115:in
`test_pathname_realpath_works_with_drive_letters'
[junit] ./test\test_dir.rb:114:in `assert_nothing_raised'
[junit] ./test\test_dir.rb:114:in `run'
[junit] ---------------
[junit] )
[junit] Tests run: 19, Failures: 1, Errors: 0, Time elapsed: 10.657 sec
[junit]
[junit] Testcase: test_dir(org.jruby.test.TestUnitTestSuite$ScriptTest):
FAILED
{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