repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Updated RubySpec source to b897f30c.
[rbx.git]
/
spec
/
frozen
/
1.8
/
library
/
socket
/
shared
/
socketpair.rb
blob
28f0aeaf8cc3b2f346ee1e7e4e5ba6b5508da014
1
describe :socket_socketpair, :shared => true do
2
not_supported_on :jruby, :windows do
3
it "ensures the returned sockets are connected" do
4
s1, s2 = Socket.socketpair(Socket::AF_UNIX, 1, 0)
5
s1.puts("test")
6
s2.gets.should == "test\n"
7
end
8
end
9
end