ruby-changes:55760
From: Benoit <ko1@a...>
Date: Mon, 20 May 2019 17:43:46 +0900 (JST)
Subject: [ruby-changes:55760] Benoit Daloze: 8c8f2d97cf (trunk): Remove redundant ignore rule for Process#clock_getres specs
https://git.ruby-lang.org/ruby.git/commit/?id=8c8f2d97cf From 8c8f2d97cf51103b6f3d40bf7239a40899e380f6 Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Mon, 20 May 2019 10:41:57 +0200 Subject: Remove redundant ignore rule for Process#clock_getres specs diff --git a/spec/ruby/core/process/fixtures/clocks.rb b/spec/ruby/core/process/fixtures/clocks.rb index cd75b8a..6e8a65f 100644 --- a/spec/ruby/core/process/fixtures/clocks.rb +++ b/spec/ruby/core/process/fixtures/clocks.rb @@ -40,13 +40,6 @@ module ProcessSpecs https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/process/fixtures/clocks.rb#L40 } end - # CentOS seems to report a negative resolution for CLOCK_MONOTONIC_RAW - platform_is :linux do - clocks = clocks.reject { |clock, value| - clock == :CLOCK_MONOTONIC_RAW and Process.clock_getres(value, :nanosecond) < 0 - } - end - # On a Hyper-V Linux guest machine, these clocks in practice # seem to be less precise than advertised by clock_getres platform_is :linux do -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/