From 4851ffaf1040965a97247b71b1fcec81b59d588b Mon Sep 17 00:00:00 2001 From: Pavel Valena Date: Tue, 12 May 2020 03:23:02 +0200 Subject: [PATCH] Disable "File.utime allows Time instances in the far future to set mtime and atime". https://bugs.ruby-lang.org/issues/16410 --- ruby.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ruby.spec b/ruby.spec index d344471..c0c880d 100644 --- a/ruby.spec +++ b/ruby.spec @@ -833,6 +833,10 @@ sed -i '/def test_mdns_each_address$/,/^ end$/ s/^/#/' test/resolv/test_mdns.rb # https://github.com/ruby/ruby/pull/3101/ sed -i '/^ def test_queue_with_trap$/,/^ end$/ s/^/#/g' \ test/ruby/test_thread_queue.rb +# Disable "File.utime allows Time instances in the far future to set +# mtime and atime". +# https://bugs.ruby-lang.org/issues/16410 +MSPECOPTS="$MSPECOPTS -P 'File.utime allows Time instances in the far future to set mtime and atime'" make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"