test_io (test_copy_dev_null) fails under WinXP ----------------------------------------------
Key: JRUBY-2168 URL: http://jira.codehaus.org/browse/JRUBY-2168 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.1 Environment: trunk (6011), WinXP, Java 1.6 Reporter: Bill Dortch Introduced in tests for JRUBY-2145 (r5975). Possibly another Vista - XP incompatibility? {noformat} run-junit-interpreted: [echo] compile=OFF, jit.threshold=20, jit.max=-1, objectspace=true threadpool=false reflect ion=false version=ruby1_8 [junit] Testsuite: org.jruby.test.MainTestSuite [junit] Tests run: 244, Failures: 0, Errors: 0, Time elapsed: 17.094 sec [junit] [junit] Testsuite: org.jruby.test.ScriptTestSuite [junit] Tests run: 78, Failures: 0, Errors: 0, Time elapsed: 20 sec [junit] [junit] Testsuite: org.jruby.test.BFTSTestSuite [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 1.297 sec [junit] [junit] Testsuite: org.jruby.test.JRubyTestSuite [junit] Error: [junit] test_copy_dev_null(TestIO): [junit] Errno::ENOENT: No such file or directory - No such file or directory - C:/jruby/trun k/NUL: [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1178:in `lstat' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1178:in `stat' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1260:in `copy_file' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:463:in `copy_file' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:383:in `cp' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:382:in `cp' [junit] C:/jruby/trunk/./test/test_io.rb:344:in `test_copy_dev_null' [junit] ) [junit] Tests run: 29, Failures: 1, Errors: 0, Time elapsed: 10.406 sec [junit] [junit] Testcase: test_io(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED [junit] Faults encountered running test\test_io, complete output follows: [junit] Error: [junit] test_copy_dev_null(TestIO): [junit] Errno::ENOENT: No such file or directory - No such file or directory - C:/jruby/trun k/NUL: [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1178:in `lstat' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1178:in `stat' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1260:in `copy_file' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:463:in `copy_file' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:383:in `cp' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:382:in `cp' [junit] C:/jruby/trunk/./test/test_io.rb:344:in `test_copy_dev_null' [junit] [junit] junit.framework.AssertionFailedError: Faults encountered running test\test_io, compl ete output follows: [junit] Error: [junit] test_copy_dev_null(TestIO): [junit] Errno::ENOENT: No such file or directory - No such file or directory - C:/jruby/trun k/NUL: [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1178:in `lstat' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1178:in `stat' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1260:in `copy_file' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:463:in `copy_file' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:383:in `cp' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest' [junit] C:/jruby/trunk/lib/ruby/1.8/fileutils.rb:382:in `cp' [junit] C:/jruby/trunk/./test/test_io.rb:344:in `test_copy_dev_null' [junit] [junit] at org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:20 1) [junit] [junit] {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