Project

General

Profile

Actions

Bug #1577

closed

testFileUtils failure in windows

Added by rogerdpack (Roger Pack) about 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
TRUNK mingw
Backport:
[ruby-core:23724]

Description

=begin
23) Failure:
test_copy_stream(TestFileUtils)
[c:/dev/downloads/ruby_trunk/test/fileutils/test_fileutils.rb:934]:
file data/a != tmp/a.
Expected block to return true value.

This might be caused by the fact that windows doesn't write files out immediately [even if you call flush or close on them] -- you have to apparently call fsync on them first. I guess.
-=r
=end

Actions

Also available in: Atom PDF