diff options
author | Hiroshi SHIBATA <[email protected]> | 2025-04-08 15:45:40 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-04-08 15:46:45 +0900 |
commit | b68fe530f1880ed314099b61a70e3c0b1ee7cf6d (patch) | |
tree | c24c8c2759d8eb85884c7b7fbc99a97d72158124 /test/ruby | |
parent | 10d6ee65542a756072afb7182216efff80aa97d7 (diff) |
Windows 11 24H2 with VS 2019 16.11.45 couldn't handle long name test
```
2) Error:
TestDir#test_children_long_name:
Test::Unit::ProxyError: No such file or directory @ apply2files - C:/Users/hsbt/AppData/Local/Temp/rubytest.zxydnz/d20250408-35424-2b0o6e/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/c
V:/github.com/ruby/ruby/test/ruby/test_dir.rb:653:in 'File.unlink'
V:/github.com/ruby/ruby/test/ruby/test_dir.rb:653:in 'block in TestDir#test_children_long_name'
V:/github.com/ruby/ruby/lib/tmpdir.rb:105:in 'Dir.mktmpdir'
V:/github.com/ruby/ruby/test/ruby/test_dir.rb:646:in 'TestDir#test_children_long_name'
```
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_dir.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index 1d3d151c85..edb5210af1 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -653,6 +653,8 @@ class TestDir < Test::Unit::TestCase File.unlink("#{long_path}/c") Dir.rmdir(long_path) end + rescue Errno::ENOENT + omit "File system does not support long file name" end end |