From d020fb15254c13e458bb9603479edbb7b3fb347f Mon Sep 17 00:00:00 2001 From: kosaki Date: Tue, 15 Nov 2011 01:41:58 +0000 Subject: * test/ruby/test_io.rb (TestIO#test_fcntl_dupfd): fix OpenBSD test failure. [ruby-dev:44872] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 7256e6fc16..35b29068b9 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -1920,9 +1920,9 @@ End def test_fcntl_dupfd Tempfile.open(self.class.name) do |f| - fd = f.fcntl(Fcntl::F_DUPFD, 255) + fd = f.fcntl(Fcntl::F_DUPFD, 63) begin - assert_equal(fd, 255) + assert_equal(fd, 63) ensure IO.for_fd(fd).close end -- cgit v1.2.3