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' ```
This commit is contained in:
parent
10d6ee6554
commit
b68fe530f1
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user