jruby/rubyspec — pull request #1 by jordansissel (2012-03-08 00:52:23+00:00)
Title: Add Socket#accept_nonblock basic test

Should support 1.8 and 1.9 rubies. This fails in JRuby 1.6.7 (both 1.8 and 1.9 modes) and passes in ruby 1.9.3

This is missing from the upstream rubyspec as well.

I am open to hinting as to rewriting some of this test, specifically how I implemented the version checking (setting @waitwritable, etc, depending on version).