diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/envutil.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb index ebb2ef57d0..b37d180c20 100644 --- a/test/lib/envutil.rb +++ b/test/lib/envutil.rb @@ -4,10 +4,9 @@ require "timeout" require_relative "find_executable" def File.mkfifo(fn) - raise NotImplementedError, "does not support fifo" if /mswin|mingw|bccwin/ =~ RUBY_PLATFORM ret = system("mkfifo", fn) raise NotImplementedError, "mkfifo fails" if !ret -end +end unless File.respond_to?(:mkfifo) or /mswin|mingw|bccwin/ =~ RUBY_PLATFORM module EnvUtil def rubybin |