summaryrefslogtreecommitdiff
path: root/test/ruby/suicide.rb
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-14 15:04:27 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-14 15:04:27 +0000
commit1d04a09d1decc93e3dce625b8416ab34b57e318d (patch)
tree27a0a0dfedd73b4cf204e4c5db2ad6f3863ed164 /test/ruby/suicide.rb
parent599fac85a7027c582505e812da45d2657daddebf (diff)
* test/ruby/test_beginendblock.rb (test_should_propagate_signaled):
get rid of invoking shell. [ruby-dev:30942] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/suicide.rb')
-rw-r--r--test/ruby/suicide.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/suicide.rb b/test/ruby/suicide.rb
new file mode 100644
index 0000000..2687ed0
--- /dev/null
+++ b/test/ruby/suicide.rb
@@ -0,0 +1,2 @@
+STDERR.reopen(STDOUT)
+at_exit{Process.kill(:INT, $$)}