[ruby-core:71523] [Ruby trunk - Bug #11702] errors in tests of logger on Windows

From: sonots@...
Date: 2015-11-17 15:34:23 UTC
List: ruby-core #71523
Issue #11702 has been updated by Naotoshi Seo.


Oh, god. Thank you for pointing out. I will fix soon. 

----------------------------------------
Bug #11702: errors in tests of logger on Windows
https://bugs.ruby-lang.org/issues/11702#change-54899

* Author: Usaku NAKAMURA
* Status: Assigned
* Priority: Normal
* Assignee: Naotoshi Seo
* ruby -v: ruby 2.3.0dev (2015-11-17 trunk 52620) [x64-mswin64_100]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
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.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next