summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/-ext-/tracepoint/test_tracepoint.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/-ext-/tracepoint/test_tracepoint.rb b/test/-ext-/tracepoint/test_tracepoint.rb
index 4f480bb856..79ba090e4c 100644
--- a/test/-ext-/tracepoint/test_tracepoint.rb
+++ b/test/-ext-/tracepoint/test_tracepoint.rb
@@ -77,4 +77,8 @@ class TestTracepointObj < Test::Unit::TestCase
end
end
+ def test_teardown_with_active_GC_end_hook
+ assert_separately([], 'require("-test-/tracepoint"); Bug.after_gc_exit_hook = proc {}')
+ end
+
end