diff options
-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 { |