ruby-changes:23411
From: naruse <ko1@a...>
Date: Tue, 24 Apr 2012 21:17:30 +0900 (JST)
Subject: [ruby-changes:23411] naruse:r35461 (trunk): Cent OS 5.6 wakes up in 4.989596sec from sleep(5).
naruse 2012-04-24 21:17:02 +0900 (Tue, 24 Apr 2012) New Revision: 35461 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35461 Log: Cent OS 5.6 wakes up in 4.989596sec from sleep(5). http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20120424T070102Z.log.html.gz Modified files: trunk/test/ruby/test_sleep.rb Index: test/ruby/test_sleep.rb =================================================================== --- test/ruby/test_sleep.rb (revision 35460) +++ test/ruby/test_sleep.rb (revision 35461) @@ -6,7 +6,7 @@ start = Time.now sleep 5 slept = Time.now-start - bottom = /linux/ =~ RUBY_PLATFORM && /Linux ([\d.]+)/ =~ `uname -sr` && ($1.split('.')<=>%w/2 6 18/)<1 ? 4.99 : 5.0 + bottom = /linux/ =~ RUBY_PLATFORM && /Linux ([\d.]+)/ =~ `uname -sr` && ($1.split('.')<=>%w/2 6 18/)<1 ? 4.98 : 5.0 assert_operator(bottom, :<=, slept) assert_operator(slept, :<=, 6.0, "[ruby-core:18015]: longer than expected") ensure -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/