[前][次][番号順一覧][スレッド一覧]

ruby-changes:2061

From: ko1@a...
Date: 29 Sep 2007 00:58:49 +0900
Subject: [ruby-changes:2061] akr - Ruby:r13552 (trunk): UNIXServer.new("a\0b") test removed because

akr	2007-09-29 00:58:34 +0900 (Sat, 29 Sep 2007)

  New Revision: 13552

  Modified files:
    trunk/test/socket/test_unix.rb

  Log:
    UNIXServer.new("a\0b") test removed because
    UNIXServer.new accepts NUL as abstruct unix sockets.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/socket/test_unix.rb?r1=13552&r2=13551

Index: test/socket/test_unix.rb
===================================================================
--- test/socket/test_unix.rb	(revision 13551)
+++ test/socket/test_unix.rb	(revision 13552)
@@ -118,7 +118,6 @@
 
   def test_nul
     assert_raise(ArgumentError) { Socket.sockaddr_un("a\0b") }
-    assert_raise(ArgumentError) { UNIXServer.new("a\0b") }
   end
 
   def test_dgram_pair

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]