test/helper.rb in yahns-1.16.0 vs test/helper.rb in yahns-1.17.0

- old
+ new

@@ -123,10 +123,10 @@ buf.unpack("l_")[0] end end if ! IO.method_defined?(:nread) && RUBY_PLATFORM =~ /linux/ def cloexec_pipe - IO.pipe.each { |io| io.close_on_exec = true } + IO.pipe end def require_exec(cmd) ENV["PATH"].split(/:/).each do |path| return true if File.executable?("#{path}/#{cmd}")