add timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
183582ab29
commit
a2f28cb6f5
@ -4,6 +4,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
assert_normal_exit(<<'End', '[ruby-dev:37934]')
|
assert_normal_exit(<<'End', '[ruby-dev:37934]')
|
||||||
|
Thread.new { sleep 1; Thread.kill Thread.main }
|
||||||
Process.setrlimit(:NPROC, 1)
|
Process.setrlimit(:NPROC, 1)
|
||||||
system("ls")
|
fork {}
|
||||||
End
|
End
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user