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 /test | |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |