summaryrefslogtreecommitdiff
path: root/test/ruby/test_file_exhaustive.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-13 13:46:10 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-13 13:46:10 +0000
commit3024fc235af08b8637e115692ab595592338a6fa (patch)
treef9918220c1f052841d91c0940a90f383c9d73df6 /test/ruby/test_file_exhaustive.rb
parent599bfa72332cf9dba6fff25dde5b17270c058635 (diff)
downloadruby-3024fc235af08b8637e115692ab595592338a6fa.tar.gz
* test/lib/envutil.rb (File.mkfifo): Defined using mkfifo command.
* test/ruby/test_io.rb: Ditto. * test/ruby/test_file_exhaustive.rb: Use File.mkfifo. * test/ruby/test_process.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_file_exhaustive.rb')
-rw-r--r--test/ruby/test_file_exhaustive.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb
index bcf955d85c..b36b6168ee 100644
--- a/test/ruby/test_file_exhaustive.rb
+++ b/test/ruby/test_file_exhaustive.rb
@@ -131,7 +131,7 @@ class TestFileExhaustive < Test::Unit::TestCase
return @fifo if defined? @fifo
if POSIX
fn = make_tmp_filename("fifo")
- assert(system("mkfifo", fn), "mkfifo fails")
+ File.mkfifo(fn)
@fifo = fn
else
@fifo = nil