Sha256: 9d1137f7c4362bfbdeba9c61fae11a424e1c1040a53ffd64bab6df3d965e6a36
Contents?: true
Size: 466 Bytes
Versions: 10
Compression:
Stored size: 466 Bytes
Contents
require "fluent/test" require "fluent/test/helpers" require "fluent/test/driver/input" require "fluent/test/driver/parser" require "pathname" Test::Unit::TestCase.include(Fluent::Test::Helpers) def fixtures(name) Pathname(__dir__).expand_path + "fixtures" + name end def unused_port s = TCPServer.open(0) port = s.addr[1] s.close port end def ipv6_enabled? require "socket" begin TCPServer.open("::1", 0) true rescue false end end
Version data entries
10 entries across 10 versions & 1 rubygems