librelist archives

« back to archive

Test suite fix for non-linux users

Test suite fix for non-linux users

From:
Jeremy Evans
Date:
2011-11-14 @ 18:31
Most other linux-specific test files have this, but
test_linux_tcp_info.rb does not.

With this patch, gmake test passes on OpenBSD.

Sorry for not providing a git-formatted patch, but at least it is
inline. :)

Thanks,
Jeremy

--- test/test_linux_tcp_info.rb.orig	Mon Nov 14 19:22:35 2011
+++ test/test_linux_tcp_info.rb	Mon Nov 14 19:22:43 2011
@@ -58,4 +58,4 @@ class TestLinuxTCP_Info < Test::Unit::TestCase
       a.close if a
       s.close
   end
-end
+end if RUBY_PLATFORM =~ /linux/

Re: [raindrops] Test suite fix for non-linux users

From:
Eric Wong
Date:
2011-11-14 @ 21:13
Jeremy Evans <code@jeremyevans.net> wrote:
> With this patch, gmake test passes on OpenBSD.

Thanks, pushed out as commit 499e63e2666f88134f7d47f3bcfdfedd72396e70

> Sorry for not providing a git-formatted patch, but at least it is
> inline. :)

No worries, it was easy to edit into a "git am"-readable format
from my mailer/$EDITOR.  I'm happy as long as I don't have to leave
my MUA terminal :)

I don't have further development plans for raindrops at the moment.
Would making a 0.8.1 release (with just this patch) help you?

I'm out of ideas for raindrops at the moment, but if anybody else has
any, I'd be happy to hear...

Re: [raindrops] Test suite fix for non-linux users

From:
Jeremy Evans
Date:
2011-11-14 @ 21:55
On 11/14 01:13, Eric Wong wrote:
> I don't have further development plans for raindrops at the moment.
> Would making a 0.8.1 release (with just this patch) help you?
 
I can just keep it as a local patch in the OpenBSD port until the next
release, but if you want to do a release just for it, that's fine too.

Thanks,
Jeremy