From 499e63e2666f88134f7d47f3bcfdfedd72396e70 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Mon, 14 Nov 2011 10:31:53 -0800 Subject: Test suite fix for non-linux users Most other linux-specific test files have this, but test_linux_tcp_info.rb does not. With this patch, gmake test passes on OpenBSD. --- test/test_linux_tcp_info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_linux_tcp_info.rb b/test/test_linux_tcp_info.rb index f429d1d..3b4a245 100644 --- a/test/test_linux_tcp_info.rb +++ b/test/test_linux_tcp_info.rb @@ -58,4 +58,4 @@ class TestLinuxTCP_Info < Test::Unit::TestCase a.close if a s.close end -end +end if RUBY_PLATFORM =~ /linux/ -- cgit v1.2.3-24-ge0c7