[ruby-cvs:68082] k0kubun:r60901 (trunk): test_workspace.rb: skip test failing on windows

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Fri Nov 24 21:37:07 JST 2017

k0kubun	2017-11-24 21:37:07 +0900 (Fri, 24 Nov 2017)

  New Revision: 60901


    test_workspace.rb: skip test failing on windows
    > Note that all files are always readable
    > https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/chmod-wchmod
    It seems that we can't make a file unreadable with `File.chmod` on
    When file can't be read, File::EACCES is raised on Windows too. So
    r60900 should work anyway, but I don't know how to let it happen by
    Ruby code. I tried to open file before reading it, but I couldn't
    reproduce File::EACCES too.

  Modified files:

More information about the ruby-cvs mailing list