summaryrefslogtreecommitdiff
path: root/test/ruby/test_gc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_gc.rb')
-rw-r--r--test/ruby/test_gc.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index baf9971c48..c28f450ef1 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -214,6 +214,11 @@ class TestGc < Test::Unit::TestCase
def test_gc_parameter
env = {
+ "RUBY_GC_HEAP_INIT_SLOTS" => "100"
+ }
+ assert_in_out_err([env, "-e", "exit"], "", [], [], "[Bug #19284]")
+
+ env = {
"RUBY_GC_MALLOC_LIMIT" => "60000000",
"RUBY_GC_HEAP_INIT_SLOTS" => "100000"
}