aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r--test/ruby/test_io.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index a06fce8eb9..873da119be 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -3180,7 +3180,7 @@ End
def test_open_fifo_does_not_block_other_threads
mkcdtmpdir {
- assert(system("mkfifo", "fifo"), "mkfifo fails")
+ File.mkfifo("fifo")
assert_separately([], <<-'EOS')
t1 = Thread.new {
open("fifo", "r") {|r|