Sha256: 3c2cf5884a65dad1e9f8c6ddae2029e21fd098dda13d41e99f5f3c26552facf5

Contents?: true

Size: 424 Bytes

Versions: 14

Compression:

Stored size: 424 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'redhat', :release => '7'


describe get_command(:check_host_is_reachable, 'example.jp', '53', 'udp', 2) do 
  it { should eq "ncat -vvvvu example.jp 53 -w 2 -i 2 2>&1 | grep -q SUCCESS" } 
end

describe get_command(:check_host_is_reachable, 'example.jp', '80', 'tcp', 3) do 
  it { should eq "ncat -vvvvt example.jp 80 -w 3 -i 3 2>&1 | grep -q SUCCESS" } 
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
specinfra-cisco-2.41.0 spec/command/redhat7/host_spec.rb
specinfra-cisco-2.40.2 spec/command/redhat7/host_spec.rb
specinfra-2.41.1 spec/command/redhat7/host_spec.rb
specinfra-2.41.0 spec/command/redhat7/host_spec.rb
specinfra-2.40.2 spec/command/redhat7/host_spec.rb
specinfra-2.40.1 spec/command/redhat7/host_spec.rb
specinfra-2.40.0 spec/command/redhat7/host_spec.rb
specinfra-2.39.1 spec/command/redhat7/host_spec.rb
specinfra-2.39.0 spec/command/redhat7/host_spec.rb
specinfra-2.38.1 spec/command/redhat7/host_spec.rb
specinfra-2.38.0 spec/command/redhat7/host_spec.rb
specinfra-2.37.9 spec/command/redhat7/host_spec.rb
specinfra-2.37.8 spec/command/redhat7/host_spec.rb
specinfra-2.37.6 spec/command/redhat7/host_spec.rb