Bug #1576
closedTestFile failures in windows
Description
=begin
Here ya go:
-
Failure:
test_gets_para_extended_file(TestFile)
[c:/dev/downloads/ruby_trunk/test/ruby/test_file.rb:94]:
mode = <>.
<"a"> expected but was
<"\na">. -
Failure:
test_expand_path(TestFileExhaustive)
[c:/dev/downloads/ruby_trunk/test/ruby/test_file_exhaustive.rb:389]:
ArgumentError expected but nothing was raised. -
Failure:
test_stat(TestFileExhaustive)
[c:/dev/downloads/ruby_trunk/test/ruby/test_file_exhaustive.rb:80]:
<2> expected but was
<1>. -
Failure:
test_stat_init(TestFileExhaustive)
[c:/dev/downloads/ruby_trunk/test/ruby/test_file_exhaustive.rb:558]:
<2> expected but was
<1>. -
Failure:
test_utime(TestFileExhaustive)
[c:/dev/downloads/ruby_trunk/test/ruby/test_file_exhaustive.rb:338]:
<2000-01-01 00:00:01 -0700> expected but was
<1999-12-31 23:00:01 -0700>.
Not so sure about that last one.
Thanks!
-=r
=end
Updated by yugui (Yuki Sonoda) about 15 years ago
- Assignee set to nobu (Nobuyoshi Nakada)
=begin
=end
Updated by usa (Usaku NAKAMURA) over 14 years ago
- Category set to core
- Status changed from Open to Assigned
- Target version set to 1.9.2
- ruby -v changed from TRUNK mingw to ruby 1.9.3dev (2010-05-12 trunk 27746) [i386-mswin32]
=begin
19) - 21) is already fixed (or changed the test)
cannot reproduce 22). maybe fixed.
- is the problem of paragraph mode of IO#gets.
if the newline code is not equals as 0x0A, paragraph mode doesn't run well.
I think to change the function swallow() in io.c.
=end
Updated by rogerdpack (Roger Pack) over 14 years ago
=begin
yeah the only TestFile failures I currently get is:
- Failure:test_gets_para_extended_file(TestFile) [C:/dev/ruby/downloads/ruby_trunk_no_patches/test/ruby/test_file.rb:94]:mode = <>.<"a"> expected but was<"\na">.
(from http://gist.github.com/396251)
Thanks for looking into that!
-rp
=end
Updated by usa (Usaku NAKAMURA) over 14 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r27769.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end