Skip to content

Commit

Permalink
test/ruby/test_file_exhaustive.rb: shorten the name of temporary dir
Browse files Browse the repository at this point in the history
```
  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'
```
  • Loading branch information
mame committed Dec 7, 2019
1 parent dcf89b2 commit ebbc778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ruby/test_file_exhaustive.rb
Expand Up @@ -18,7 +18,7 @@ def assert_incompatible_encoding
end

def setup
@dir = Dir.mktmpdir("rubytest-file")
@dir = Dir.mktmpdir("ruby-test")
File.chown(-1, Process.gid, @dir)
end

Expand Down

0 comments on commit ebbc778

Please sign in to comment.