From 146aff91c43bf19f753a928410f9e55b2a17868f Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 23 Apr 2012 13:09:48 +0000 Subject: * test/socket/test_unix.rb (bound_unix_socket): make temporary filename shorter for less possibility of Unix socket path over 107 bytes when TMPDIR has long path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/socket/test_unix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb index a9918b108b..a457ee586b 100644 --- a/test/socket/test_unix.rb +++ b/test/socket/test_unix.rb @@ -244,7 +244,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase end def bound_unix_socket(klass) - tmpfile = Tempfile.new("testrubysock") + tmpfile = Tempfile.new("s") path = tmpfile.path tmpfile.close(true) yield klass.new(path), path -- cgit v1.2.3