aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_thread.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index 6701d10226..369cd0a5cd 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -820,6 +820,7 @@ _eom
assert_in_out_err([], <<-'INPUT', ["false false aborting"], [])
Thread.new(Thread.current) {|mth|
begin
+ mth.run
Thead.pass until mth.stop?
p :mth_stopped # don't run if killed by rb_thread_terminate_all
ensure