diff options
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 5509364e60..a99e979e88 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1777,6 +1777,8 @@ EOS def test_clock_getres r = Process.clock_getres(Process::CLOCK_REALTIME, :nanosecond) + rescue Errno::EINVAL + else assert_kind_of(Integer, r) assert_raise(Errno::EINVAL) { Process.clock_getres(:foo) } end |