Sha256: 5cd86769a506beb10665b1ddb47030c1fdba4a4fc53cafe71ca639143f4c011f

Contents?: true

Size: 216 Bytes

Versions: 9

Compression:

Stored size: 216 Bytes

Contents

class Specinfra::Command::Freebsd::Base::Port < Specinfra::Command::Base::Port
  def check_is_listening(port, options={})
    regexp = ":#{port} "
    "sockstat -46l -p #{port} | grep -- #{escape(regexp)}"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta15 lib/specinfra/command/freebsd/base/port.rb
specinfra-2.0.0.beta14 lib/specinfra/command/freebsd/base/port.rb
specinfra-2.0.0.beta13 lib/specinfra/command/freebsd/base/port.rb
specinfra-2.0.0.beta12 lib/specinfra/command/freebsd/base/port.rb
specinfra-2.0.0.beta11 lib/specinfra/command/freebsd/base/port.rb
specinfra-2.0.0.beta10 lib/specinfra/command/freebsd/base/port.rb
specinfra-2.0.0.beta9 lib/specinfra/command/freebsd/base/port.rb
specinfra-2.0.0.beta8 lib/specinfra/command/freebsd/base/port.rb
specinfra-2.0.0.beta7 lib/specinfra/command/freebsd/base/port.rb