Sha256: 470e09649a989806ffbbd81a382d9622f911e8bfe13d9a4776737c4c689fb8b8
Contents?: true
Size: 564 Bytes
Versions: 10
Compression:
Stored size: 564 Bytes
Contents
# encoding: utf-8 # TODO: do not run those tests on docker yet return if ENV['DOCKER'] # check that ssh runs if os.unix? describe port(22) do it { should be_listening } its('protocols') { should include('tcp') } its('protocols') { should_not include('udp') } end describe port(65432) do it { should_not be_listening } end end # extra test for linux if os.linux? describe port(22) do its('processes') { should include 'sshd' } its('protocols') { should include 'tcp' } its('addresses') {should include '0.0.0.0'} end end
Version data entries
10 entries across 10 versions & 1 rubygems