diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-29 00:54:10 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-29 00:54:10 +0000 |
commit | c027f224431fe47ab5ea9ad2070a445244586fc4 (patch) | |
tree | 3524223c0cc704a5d525fb82bd2dc67e7176e63e /spec/ruby/core/dir/shared | |
parent | 2076c2c3c401d9ab9324468818bbc46d4e4b870a (diff) | |
download | ruby-c027f224431fe47ab5ea9ad2070a445244586fc4.tar.gz |
Update to ruby/spec@c8b36c4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/core/dir/shared')
-rw-r--r-- | spec/ruby/core/dir/shared/open.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/ruby/core/dir/shared/open.rb b/spec/ruby/core/dir/shared/open.rb index 6df361e452..63e9036053 100644 --- a/spec/ruby/core/dir/shared/open.rb +++ b/spec/ruby/core/dir/shared/open.rb @@ -65,6 +65,7 @@ describe :dir_open, shared: true do it 'sets the close-on-exec flag for the directory file descriptor' do Dir.send(@method, DirSpecs.mock_dir) do |dir| io = IO.for_fd(dir.fileno) + io.autoclose = false io.close_on_exec?.should == true end end |