1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/ruby/test_file_exhaustive.rb: shorten the name of temporary dir

```
  1) Error:
TestFileExhaustive#test_socket_p:
ArgumentError: too long unix socket path (109bytes given but 108bytes max)
    /export/home/users/chkbuild/cb-sunc/tmp/build/20191207T024036Z/ruby/test/ruby/test_file_exhaustive.rb:155:in `initialize'
```
This commit is contained in:
Yusuke Endoh 2019-12-07 13:15:47 +09:00
parent dcf89b20d7
commit ebbc77836b

View file

@ -18,7 +18,7 @@ class TestFileExhaustive < Test::Unit::TestCase
end
def setup
@dir = Dir.mktmpdir("rubytest-file")
@dir = Dir.mktmpdir("ruby-test")
File.chown(-1, Process.gid, @dir)
end