ruby-changes:23385
From: akr <ko1@a...>
Date: Mon, 23 Apr 2012 22:12:23 +0900 (JST)
Subject: [ruby-changes:23385] akr:r35436 (trunk): * test/socket/test_unix.rb (bound_unix_socket): make temporary
akr 2012-04-23 22:09:48 +0900 (Mon, 23 Apr 2012) New Revision: 35436 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35436 Log: * 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. Modified files: trunk/ChangeLog trunk/test/socket/test_unix.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 35435) +++ ChangeLog (revision 35436) @@ -1,3 +1,9 @@ +Mon Apr 23 22:07:00 2012 Tanaka Akira <akr@f...> + + * 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. + Mon Apr 23 20:35:49 2012 NAKAMURA Usaku <usa@r...> * win32/win32.c (szInternalCmds, internal_match, internal_cmd_match): Index: test/socket/test_unix.rb =================================================================== --- test/socket/test_unix.rb (revision 35435) +++ test/socket/test_unix.rb (revision 35436) @@ -244,7 +244,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/