From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-1.8 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Jeremy Evans Newsgroups: gmane.comp.lang.ruby.raindrops.general Subject: Test suite fix for non-linux users Date: Mon, 14 Nov 2011 10:31:53 -0800 Message-ID: <20111114183153.GN10168@jeremyevans.local> References: <20111114183153.GN10168@jeremyevans.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1321295548 18594 80.91.229.12 (14 Nov 2011 18:32:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2011 18:32:28 +0000 (UTC) To: raindrops@librelist.org Original-X-From: raindrops@librelist.org Mon Nov 14 19:32:24 2011 Return-path: Envelope-to: gclrrg-raindrops@m.gmane.org In-Reply-To: <20111114183153.GN10168@jeremyevans.local> List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: raindrops@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.raindrops.general:51 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RQ1KQ-0000BO-7x for gclrrg-raindrops@m.gmane.org; Mon, 14 Nov 2011 19:32:22 +0100 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 7442F21CB4F for ; Mon, 14 Nov 2011 18:35:35 +0000 (UTC) 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/