about summary refs log tree commit homepage
path: root/test/test_wbuf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_wbuf.rb')
-rw-r--r--test/test_wbuf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_wbuf.rb b/test/test_wbuf.rb
index 644c76b..bfdfa2b 100644
--- a/test/test_wbuf.rb
+++ b/test/test_wbuf.rb
@@ -15,6 +15,7 @@ class TestWbuf < Testcase
   end
 
   def test_wbuf
+    skip "sendfile not Linux-compatible" if RUBY_PLATFORM !~ /linux/
     buf = "*" * (16384 * 2)
     nr = 1000
     [ true, false ].each do |persist|
@@ -59,6 +60,7 @@ class TestWbuf < Testcase
 
   def test_wbuf_blocked
     a, b = socketpair
+    skip "sendfile not Linux-compatible" if RUBY_PLATFORM !~ /linux/
     buf = "." * 4096
     4.times do
       begin