Project

General

Profile

Actions

Bug #12506

open

On cygwin, Feature #5994 does not work

Added by duerst (Martin Dürst) almost 8 years ago. Updated almost 2 years ago.

Status:
Assigned
Assignee:
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-06-19 trunk 55452) [x86_64-cygwin]
[ruby-core:76073]
Tags:

Description

On cygwin, Feature #5994 doesn't seem to have been implemented. This can be confirmed with test/ruby/test_dir.rb (see the very end of this report), or even simpler, as follows:

duerst@Arnisee /cygdrive/c/Data/testCygwin
$ ruby -e 'Dir.mkdir("Matsumoto")'

duerst@Arnisee /cygdrive/c/Data/testCygwin
$ ruby -e 'puts Dir.glob("Ma*to")'
Matsumoto

duerst@Arnisee /cygdrive/c/Data/testCygwin
$ ruby -e 'puts Dir.glob("ma*to")'

duerst@Arnisee /cygdrive/c/Data/testCygwin
$ ruby -e 'puts Dir.glob("matsumoto")'
matsumoto

The 4th execution shows the problem. Please note that the third execution is also strange.

$ bin/ruby test/runner.rb test/ruby/test_dir.rb
Run options:

# Running tests:

[10/23] TestDir#test_glob_cases = 0.11 s
  1) Failure:
TestDir#test_glob_cases [/cygdrive/c/Data/ruby/test/ruby/test_dir.rb:255]:
[ruby-core:42469] [Feature #5994]
Dir.glob should return the filename with actual cases on the filesystem.
<["FileWithCases"]> expected but was
<["filewithcases"]>.

Finished tests in 3.294094s, 6.9822 tests/s, 77.7148 assertions/s.
23 tests, 256 assertions, 1 failures, 0 errors, 0 skips

ruby -v: ruby 2.4.0dev (2016-06-19 trunk 55452) [x86_64-cygwin]

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #12443: Test failures in TestDir_M17N on cygwinClosedduerst (Martin Dürst)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0