Sha256: 4a3b30bd7a82b389b14ada3782cc1ffa1b601c6c8d86364ca925028c8867c4d8
Contents?: true
Size: 514 Bytes
Versions: 111
Compression:
Stored size: 514 Bytes
Contents
require 'spec_helper' property[:os] = nil set :os, :family => 'openbsd' describe get_command(:check_port_is_listening, '80') do it { should eq "netstat -nat -f inet | egrep '((tcp|udp).*.80.*LISTEN$)'" } end describe get_command(:check_port_is_listening, '22', :protocol => 'tcp') do it { should eq "netstat -nat -f inet | egrep '(tcp.*.22.*LISTEN$)'" } end describe get_command(:check_port_is_listening, '514', :protocol => 'udp') do it { should eq "netstat -nat -f inet | egrep '(udp.*.514.*$)'" } end
Version data entries
111 entries across 111 versions & 1 rubygems