summaryrefslogtreecommitdiff
path: root/test/ruby/test_readpartial.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_readpartial.rb')
-rw-r--r--test/ruby/test_readpartial.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_readpartial.rb b/test/ruby/test_readpartial.rb
index 526425d..3877e21 100644
--- a/test/ruby/test_readpartial.rb
+++ b/test/ruby/test_readpartial.rb
@@ -43,6 +43,7 @@ class TestReadPartial < Test::Unit::TestCase
}
end
+ if !File::ALT_SEPARATOR # read on pipe cannot timeout on Windows.
def test_open_pipe
pipe {|r, w|
w << 'abc'
@@ -67,6 +68,7 @@ class TestReadPartial < Test::Unit::TestCase
}
}
end
+ end
end