1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bootstraptest/test_fork.rb
ko1 5a1cf1c5cb * bootstraptest/test_fork.rb: skip if fork is not unsupported.
* bootstraptest/test_io.rb: skip if require failed.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 21:35:08 +00:00

10 lines
165 B
Ruby

assert_equal '0', %q{
begin
GC.stress = true
pid = fork {}
Process.wait pid
$?.to_i
rescue NotImplementedError
0
end
}, '[ruby-dev:32404]'