diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/lbtest.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/lbtest.rb b/test/ruby/lbtest.rb index df7872dc76..8da247b7b4 100644 --- a/test/ruby/lbtest.rb +++ b/test/ruby/lbtest.rb @@ -36,13 +36,13 @@ lb = LocalBarrier.new(n) (n - 1).times do |i| Thread.start do sleep((rand(n) + 1) / 10.0) - puts "#{i}: done" + print "#{i}: done\n" lb.sync - puts "#{i}: cont" + print "#{i}: cont\n" end end lb.sync -puts "#{n-1}: cone" +print "#{n-1}: cone\n" -puts "exit." +print "exit.\n" |