In spec, I have replaced comparison between returned value by #getsockopt and an integer with a comparison with a packed string, as it is done in basicsocket/getsockopt_spec.
make spec "takes an encoded socket address and starts the connection to it"
pass. Returned value from #getsockopt is compared with a packed string as
it is done in basicsockt/getsockopt_spec.
* remove fail tag on library/socket/socket/connect_nonblock.
Merge branch 'master' of git://github.com/rubinius/rubinius
Hmm, this passes on MRI 1.9, but not 1.8. Looks like behavior that was changed between those versions. The specs need to be updated then to reflect that change. Also means that Rubinius has to be fixed for this in 1.9 mode.
Travis build is passed now. I don't know why.
This doesn't have anything to do with Travis, but with running the specs against MRI. On Travis we only run the specs against Rubinius.
All the specs in spec/ruby are a copy of Rubyspec. Rubyspec describes how MRI behaves, so the specs should describe that behavior. If MRI 1.8 and 1.9 behave different in this area, this should be described in the specs. This is what I was referring to that should be fixed in the specs.
Close it as I change a spec without testing it on MRI.