Project

General

Profile

Backport #6429 ยป backport-r35631.diff

luislavena (Luis Lavena), 05/13/2012 06:53 AM

View differences:

test/ruby/test_io.rb
10 10
require_relative 'envutil'
11 11

  
12 12
class TestIO < Test::Unit::TestCase
13
  def setup
14
    GC.disable
15
  end
16

  
17
  def teardown
18
    GC.enable
19
  end
20

  
13 21
  def have_close_on_exec?
14 22
    begin
15 23
      $stdin.close_on_exec?