diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-24 12:37:07 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-24 12:37:07 +0000 |
commit | 7128849c8c5fce8df450379db54136fd21fab6ad (patch) | |
tree | 41aaa3e8b6d57c04fe2f1549a469ed7b27c90c55 /test/psych/handlers/test_recorder.rb | |
parent | 6d14c47c20455828b7945a15920a18c4eee13d42 (diff) | |
download | ruby-7128849c8c5fce8df450379db54136fd21fab6ad.tar.gz |
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
Windows.
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych/handlers/test_recorder.rb')
0 files changed, 0 insertions, 0 deletions