summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-01 17:29:43 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-01 17:29:43 +0000
commit716da534c936149b3beb383c6915d33164fc44cf (patch)
treeb9d08fa00619e457e356bb62cfae08a999256c0a
parentcae93ffa282dbba2c4b0e2989729692994f74647 (diff)
downloadruby-716da534c936149b3beb383c6915d33164fc44cf.tar.gz
ruby-716da534c936149b3beb383c6915d33164fc44cf.tar.xz
ruby-716da534c936149b3beb383c6915d33164fc44cf.zip
add a test for [ruby-dev:32404].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--bootstraptest/test_knownbug.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index b97a08d92..27fe02a66 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -3,3 +3,9 @@
# So all tests will cause failure.
#
+assert_equal '0', %q{
+ GC.stress = true
+ pid = fork {}
+ Process.wait pid
+ $?.to_i
+}, '[ruby-dev:32404]'