summaryrefslogtreecommitdiffstats
path: root/bootstraptest/test_fork.rb
blob: 743c22c2503c1464a0c323224ae57359c67e4a20 (plain)
1
2
3
4
5
6
7
8
9
10
assert_equal '0', %q{
  begin
    GC.stress = true
    pid = fork {}
    Process.wait pid
    $?.to_i
  rescue NotImplementedError
    0
  end
}, '[ruby-dev:32404]'