ruby-changes:58096
From: Hiroshi <ko1@a...>
Date: Thu, 3 Oct 2019 18:33:41 +0900 (JST)
Subject: [ruby-changes:58096] ad67adb5f9 (master): [ruby/fileutils] Use pend instead of skip
https://git.ruby-lang.org/ruby.git/commit/?id=ad67adb5f9 From ad67adb5f942d463ab378fea21cc21cb15466cbc Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Thu, 3 Oct 2019 14:47:18 +0900 Subject: [ruby/fileutils] Use pend instead of skip https://github.com/ruby/fileutils/commit/ba2c24e2d7 diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index 23f05d2..1be4434 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -462,7 +462,7 @@ class TestFileUtils < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/fileutils/test_fileutils.rb#L462 rescue LoadError else def test_cp_r_socket - skip "Skipping socket test on JRuby" if RUBY_ENGINE == 'jruby' + pend "Skipping socket test on JRuby" if RUBY_ENGINE == 'jruby' Dir.mkdir('tmp/cpr_src') UNIXServer.new('tmp/cpr_src/socket').close cp_r 'tmp/cpr_src', 'tmp/cpr_dest' @@ -1052,7 +1052,7 @@ class TestFileUtils < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/fileutils/test_fileutils.rb#L1052 else tmpdir = Dir.pwd end - skip "No drive letter" unless /\A[a-z]:/i =~ tmpdir + pend "No drive letter" unless /\A[a-z]:/i =~ tmpdir drive = "./#{$&}" assert_file_not_exist drive mkdir_p "#{tmpdir}/none/dir" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/