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

ruby-changes:38119

From: akr <ko1@a...>
Date: Fri, 10 Apr 2015 02:20:21 +0900 (JST)
Subject: [ruby-changes:38119] akr:r50200 (trunk): * test/ruby/test_process.rb: Use mkfifo command instead of mknod

akr	2015-04-10 02:19:57 +0900 (Fri, 10 Apr 2015)

  New Revision: 50200

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

  Log:
    * test/ruby/test_process.rb: Use mkfifo command instead of mknod
      command to create a named file.  mkfifo commandis defined by POSIX.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_process.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50199)
+++ ChangeLog	(revision 50200)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Apr 10 02:18:53 2015  Tanaka Akira  <akr@f...>
+
+	* test/ruby/test_process.rb: Use mkfifo command instead of mknod
+	  command to create a named file.  mkfifo commandis defined by POSIX.
+
 Fri Apr 10 01:29:05 2015  Tanaka Akira  <akr@f...>
 
 	* process.c: Release GVL when opening a file in spawn() to avoid whole
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 50199)
+++ test/ruby/test_process.rb	(revision 50200)
@@ -560,7 +560,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L560
 
   def test_execopts_redirect_open_fifo
     with_tmpchdir {|d|
-      system("mknod fifo p")
+      system("mkfifo fifo")
       return if !$?.success?
       assert(FileTest.pipe?("fifo"))
       t1 = Thread.new {

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

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