about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-02-05 07:33:57 +0000
committerEric Wong <e@80x24.org>2014-02-05 07:42:50 +0000
commit815b8379cb1f7fa8bb9c104913fbf66e3260181d (patch)
treeaf493efbbfac0ac339cdda0f61ec866be046e586 /test
parentcbba2690a75830d68c1db779a1c15ecad3725528 (diff)
downloadkgio-815b8379cb1f7fa8bb9c104913fbf66e3260181d.tar.gz
Reported-by: Christopher Rigor <crigor@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_syssend.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_syssend.rb b/test/test_syssend.rb
index 5089ce3..7d2511a 100644
--- a/test/test_syssend.rb
+++ b/test/test_syssend.rb
@@ -40,4 +40,4 @@ class TestKgioSyssend < Test::Unit::TestCase
   ensure
     [ srv, acc, client ].each { |io| io.close if io }
   end
-end if RUBY_PLATFORM =~ /linux/
+end if RUBY_PLATFORM =~ /linux/ && Socket.const_defined?(:MSG_MORE)