[前][次][番号順一覧][スレッド一覧]

ruby-changes:39044

From: usa <ko1@a...>
Date: Fri, 3 Jul 2015 19:31:13 +0900 (JST)
Subject: [ruby-changes:39044] usa:r51125 (ruby_2_1): * test/ruby/test_require.rb (TestRequire#test_loading_fifo_threading):

usa	2015-07-03 19:30:49 +0900 (Fri, 03 Jul 2015)

  New Revision: 51125

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51125

  Log:
    * test/ruby/test_require.rb (TestRequire#test_loading_fifo_threading):
      ignore Errno::ENOENT on unlinking.  [Bug #11060]

  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/test/ruby/test_require.rb
    branches/ruby_2_1/version.h
Index: ruby_2_1/ChangeLog
===================================================================
--- ruby_2_1/ChangeLog	(revision 51124)
+++ ruby_2_1/ChangeLog	(revision 51125)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1
+Fri Jul  3 19:28:51 2015  NAKAMURA Usaku  <usa@r...>
+
+	* test/ruby/test_require.rb (TestRequire#test_loading_fifo_threading):
+	  ignore Errno::ENOENT on unlinking.  [Bug #11060]
+
 Fri Jul  3 18:40:48 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/mkmf.rb (pkg_config): split --libs if --libs-only-l option
Index: ruby_2_1/version.h
===================================================================
--- ruby_2_1/version.h	(revision 51124)
+++ ruby_2_1/version.h	(revision 51125)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1
 #define RUBY_VERSION "2.1.7"
 #define RUBY_RELEASE_DATE "2015-07-03"
-#define RUBY_PATCHLEVEL 375
+#define RUBY_PATCHLEVEL 376
 
 #define RUBY_RELEASE_YEAR 2015
 #define RUBY_RELEASE_MONTH 7
Index: ruby_2_1/test/ruby/test_require.rb
===================================================================
--- ruby_2_1/test/ruby/test_require.rb	(revision 51124)
+++ ruby_2_1/test/ruby/test_require.rb	(revision 51125)
@@ -691,7 +691,7 @@ class TestRequire < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/ruby/test_require.rb#L691
   def test_loading_fifo_threading
     Tempfile.create(%w'fifo .rb') {|f|
       f.close
-      File.unlink(f.path)
+      File.unlink(f.path) rescue nil
       File.mkfifo(f.path)
       assert_separately(["-", f.path], <<-END, timeout: 3)
       th = Thread.current

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]