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