* 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:
parent
e1440769f3
commit
40ca7a2265
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user