diff options
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 3d0b11547e..5c63ad6a90 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1526,7 +1526,7 @@ class TestProcess < Test::Unit::TestCase def test_wait_exception bug11340 = '[ruby-dev:49176] [Bug #11340]' t0 = t1 = nil - sec = 3 + sec = RUBY_PLATFORM =~ /freebsd/ ? 6 : 3 code = "puts;STDOUT.flush;Thread.start{gets;exit};sleep(#{sec})" IO.popen([RUBY, '-e', code], 'r+') do |f| pid = f.pid |