From c797cea2cdddbbc5534be54ac37d95d0c8af6e61 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 9 May 2011 13:43:39 -0700 Subject: [PATCH] EINTR test only works under 1.9 Not that we feel like supporting 1.8 any longer.. --- test/test_io_splice_eintr.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_io_splice_eintr.rb b/test/test_io_splice_eintr.rb index 05926c9..7f81ff2 100644 --- a/test/test_io_splice_eintr.rb +++ b/test/test_io_splice_eintr.rb @@ -31,4 +31,6 @@ class Test_IO_Splice_EINTR < Test::Unit::TestCase nr = IO.splice rd, nil, tmp, nil, 666 assert_equal 2, nr end -end +end if defined?(RUBY_ENGINE) && + RUBY_ENGINE == "ruby" && + RUBY_VERSION.to_f >= 1.9 -- 2.11.4.GIT