diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-09 17:19:57 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-09 17:19:57 +0000 |
commit | 79f940cda1d2cd538198d2b1ee54c09e02d107c6 (patch) | |
tree | f91bbda2f8b944b8f99380a6a91dbc644fdca3a1 | |
parent | 2441d70f6628d768117fecdcd3a5375b1b007b62 (diff) | |
download | ruby-79f940cda1d2cd538198d2b1ee54c09e02d107c6.tar.gz |
* test/ruby/test_process.rb: Use mkfifo command instead of mknod
command to create a named file. mkfifo commandis defined by POSIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_process.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Apr 10 02:18:53 2015 Tanaka Akira <akr@fsij.org> + + * 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@fsij.org> * process.c: Release GVL when opening a file in spawn() to avoid whole diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index c7f85bd9b2..8f62cbe0c2 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -560,7 +560,7 @@ class TestProcess < Test::Unit::TestCase 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 { |