Skip to content

Commit b68fe53

Browse files
committed
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' ```
1 parent 10d6ee6 commit b68fe53

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/ruby/test_dir.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,8 @@ def test_children_long_name
653653
File.unlink("#{long_path}/c")
654654
Dir.rmdir(long_path)
655655
end
656+
rescue Errno::ENOENT
657+
omit "File system does not support long file name"
656658
end
657659
end
658660

0 commit comments

Comments
 (0)