summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-09 11:48:29 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-09 11:48:29 +0000
commitadb575e21e176f73caa79838e98c8720269f12e2 (patch)
treec844f2effc9d518c764a2709e1db4caa20d8fda3 /test/socket
parenta5e6d48dfbd13f245eaa063c794e83c91aa5606a (diff)
* ext/socket/ancdata.c (bsock_sendmsg_internal): Always set
controls_num to raise NotImplementedError appropriately. (bsock_recvmsg_internal): Raise NotImplementedError if :scm_rights=>true is given on platforms which don't have 4.4BSD style control message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_nonblock.rb2
-rw-r--r--test/socket/test_socket.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/socket/test_nonblock.rb b/test/socket/test_nonblock.rb
index 59bd4f3..d494f91 100644
--- a/test/socket/test_nonblock.rb
+++ b/test/socket/test_nonblock.rb
@@ -221,7 +221,7 @@ class TestSocketNonblock < Test::Unit::TestCase
s1.sendmsg_nonblock("a" * 100000)
}
rescue NotImplementedError, Errno::ENOSYS
- skip "sendmsg not implemented on this platform."
+ skip "sendmsg not implemented on this platform: #{$!}"
rescue Errno::EMSGSIZE
# UDP has 64K limit (if no Jumbograms). No problem.
rescue Errno::EWOULDBLOCK
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index be6dabf..9b0f896 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -410,7 +410,7 @@ class TestSocket < Test::Unit::TestCase
}
rescue NotImplementedError, Errno::ENOSYS
skipped = true
- skip "need sendmsg and recvmsg"
+ skip "need sendmsg and recvmsg: #{$!}"
ensure
if th
if skipped