summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-22 02:44:45 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-22 02:44:45 +0000
commit94fbadd13534675932c036256d8fd7a061095525 (patch)
tree998a3df2f1316496b7bd89f5a76b039255246bee /test
parentc3ab0bb5bdbb7a12ce5b98d1097e2e4c7301be8e (diff)
* test/socket/test_unix.rb: 1.9.3 doesn't have IO::EAGAINWaitReadable.
use IO::WaitReadable instead. this fixes the test failure introduced at r45093. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@45095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/socket/test_unix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb
index 4c28cf5e7a..71ca0d78df 100644
--- a/test/socket/test_unix.rb
+++ b/test/socket/test_unix.rb
@@ -358,7 +358,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase
pipe[0].read_nonblock(1)
fail
rescue => e
- assert(IO::EAGAINWaitReadable === e)
+ assert(IO::WaitReadable === e)
end
end
Timeout.timeout(10) do