Forum: Ruby Test failures with snapshot

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
gabriele renzi (Guest)
on 2005-12-21 01:49
(Received via mailing list)
Hi gurus and nubys,

I was doing some small tests compiling the latest snapshot, and with
make test-all I get some errors.
Could someone check these on win32?
(last time I checked on linux everything was ok)


Finished in 83.578 seconds.

   1) Failure:
test_shifting_size(TestLogDevice)
[C:/rubysrc/test/logger/test_logger.rb:348]:
<false> is not true.

   2) Failure:
test_del_trailing_separator_25(TestPathname)
[C:/rubysrc/test/pathname/test_path
name.rb:19]:
del_trailing_separator("\225\\\\").
<"\225\\"> expected but was
<"\225">.

   3) Failure:
test_kernel_open(TestPathname)
     [C:/rubysrc/test/pathname/test_pathname.rb:456:in
`test_kernel_open'
      C:/rubysrc/lib/pathname.rb:776:in `open'
      C:/rubysrc/lib/open-uri.rb:82:in `open'
      C:/rubysrc/test/pathname/test_pathname.rb:454:in
`test_kernel_open']:
<2> expected but was
<0>.

   4) Error:
test_parse_files(TestRipper_Generic):
Errno::EACCES: Permission denied - C:/rubysrc/lib
     C:/rubysrc/lib/open-uri.rb:88:in `initialize'
     C:/rubysrc/lib/open-uri.rb:88:in `open'
     C:/rubysrc/lib/find.rb:36:in `find'
     C:/rubysrc/lib/find.rb:36:in `find'
     C:/rubysrc/test/ripper/test_files.rb:14:in `test_parse_files'

   5) Failure:
test_safe(TestProc) [C:/rubysrc/test/ruby/test_proc.rb:118]:
<1> expected but was
<0>.

   6) Failure:
test_s_open_error(TestSDBM) [C:/rubysrc/test/sdbm/test_sdbm.rb:122]:
<Errno::EACCES> exception expected but none was thrown.

   7) Failure:
test_cgi(TestWEBrickCGI)
     [C:/rubysrc/test/webrick/test_cgi.rb:27:in `test_cgi'
      C:/rubysrc/lib/net/http.rb:1047:in `request'
      C:/rubysrc/lib/net/http.rb:2100:in `reading_body'
      C:/rubysrc/lib/net/http.rb:1046:in `request'
      C:/rubysrc/lib/net/http.rb:1031:in `request'
      C:/rubysrc/lib/net/http.rb:543:in `start'
      C:/rubysrc/lib/net/http.rb:1029:in `request'
      C:/rubysrc/test/webrick/test_cgi.rb:27:in `test_cgi'
      C:/rubysrc/test/webrick/utils.rb:26:in `start_server'
      C:/rubysrc/test/webrick/utils.rb:34:in `start_httpserver'
      C:/rubysrc/test/webrick/test_cgi.rb:24:in `test_cgi']:
<"/webrick.cgi"> expected but was
<"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<HTML>\n
<HEAD><TITLE>In
ternal Server Error</TITLE></HEAD>\n  <BODY>\n    <H1>Internal Server
Error</H1>
\n    Premature end of script headers:
C:/rubysrc/test/webrick/webrick.cgi\n
<HR>\n    <ADDRESS>\n     WEBrick/1.3.1 (Ruby/1.9.0/2005-12-17) at\n
  127.0.0
..1:3950\n    </ADDRESS>\n  </BODY>\n</HTML>\n">.

2075 tests, 15247 assertions, 6 failures, 1 errors
make: *** [test-all] Error 1
This topic is locked and can not be replied to.