raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / Atom feed
From: Jeremy Evans <code@jeremyevans.net>
To: raindrops@librelist.org
Subject: Test suite fix for non-linux users
Date: Mon, 14 Nov 2011 10:31:53 -0800
Message-ID: <20111114183153.GN10168@jeremyevans.local> (raw)
In-Reply-To: <20111114183153.GN10168@jeremyevans.local>

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/


       reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14 18:31 Jeremy Evans [this message]
2011-11-14 21:13 ` Eric Wong
2011-11-14 21:55   ` Jeremy Evans

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://bogomips.org/raindrops/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111114183153.GN10168@jeremyevans.local \
    --to=code@jeremyevans.net \
    --cc=raindrops@librelist.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

raindrops RubyGem user+dev discussion/patches/pulls/bugs/help

Archives are clonable:
	git clone --mirror https://bogomips.org/raindrops-public
	git clone --mirror http://ou63pmih66umazou.onion/raindrops-public

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.raindrops

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox