Project

General

Profile

Actions

Bug #11702

closed

errors in tests of logger on Windows

Added by usa (Usaku NAKAMURA) over 8 years ago. Updated over 8 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.3.0dev (2015-11-17 trunk 52620) [x64-mswin64_100]
[ruby-core:71520]

Description

Hi, sonots, welcome to ruby committers!

Your memorial first commit r52620 introduces two test errors on Windows.
Line 134 and 157 of test/logger/test_logdevice.rb is:

    File.unlink(@filename) if File.exist?(@filename) # remove once, then reopen

but Windows cannot remove opened file.
Fix them, please.
If I will discover that they won't have been fixed on tomorrow morning, I will revert the commit.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0