summaryrefslogtreecommitdiff
path: root/KNOWNBUGS.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-14 22:30:56 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-14 22:30:56 (GMT)
commita2f28cb6f5c388964161b105a851eaaf3697b891 (patch)
treea1e7687ff83207a9750890b52f397a26095d6449 /KNOWNBUGS.rb
parent183582ab29b5e81fc4a090eb69102857210e2824 (diff)
add timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r--KNOWNBUGS.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb
index 1b170b6..9fe4c29 100644
--- a/KNOWNBUGS.rb
+++ b/KNOWNBUGS.rb
@@ -4,6 +4,8 @@
#
assert_normal_exit(<<'End', '[ruby-dev:37934]')
+ Thread.new { sleep 1; Thread.kill Thread.main }
Process.setrlimit(:NPROC, 1)
- system("ls")
+ fork {}
End
+