Skip to content

setsockopt test fails on both ruby1.8 and 1.9 #377

Closed
michelboaventura opened this Issue Nov 6, 2012 · 5 comments

3 participants

@michelboaventura

Using ruby 1.9.3-p194 and ruby 1.8.7p370 to run the gem tests fails at the same test:

  1) Error:
test_set_sock_opt(TestSetSockOpt):
Errno::EACCES: Permission denied - setsockopt

I running rake 0.9.2.2 on a Gentoo Linux box.

@ibc
ibc commented Nov 6, 2012

Run the test as root. Maybe normal users don't have permission for setting socket options.

@michelboaventura
@michelboaventura

If you think this is useful, I can send a push request to skip this test.

@tmm1
tmm1 commented Nov 8, 2012

These tests pass for me on a Debian machine without root.

@tmm1 tmm1 closed this in b96b736 Nov 8, 2012
@michelboaventura

This fix the issue. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.