* test/ruby/test_io.rb (test_fcntl_dupfd): fix test error on

SnowLeopard.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ayumin 2011-11-14 16:10:17 +00:00
parent e1440769f3
commit 40ca7a2265
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Nov 15 01:03:32 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* test/ruby/test_io.rb (test_fcntl_dupfd): fix test error on
SnowLeopard.
Mon Nov 14 22:06:02 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_pkey.c (ossl_pkey_new_from_file): set close-on-exec

View File

@ -1919,7 +1919,8 @@ End
end
def test_fcntl_dupfd
Tempfile.open(self.class.name) do |f|
Tempfile.new(self.class.name) do |f|
f.open
fd = f.fcntl(Fcntl::F_DUPFD, 500)
begin
assert_equal(fd, 500)