Sha256: 84e6e7bfcac82e92c435eb059d9957a2776fc46a241db80b42dcf851cbedd0ad
Contents?: true
Size: 978 Bytes
Versions: 128
Compression:
Stored size: 978 Bytes
Contents
test_name "confirm host prebuilt steps behave correctly" do confine_block :except, :platform => /f5|windows/ do step "confirm ssh environment file existence" do hosts.each do |host| assert(host.file_exist?(host[:ssh_env_file])) end end step "confirm PATH env variable is set in the ssh environment file" do hosts.each do |host| assert(0 == on(host, "grep \"PATH\" #{host[:ssh_env_file]}").exit_code) end end end confine_block :to, :platform => /solaris-10/ do step "confirm /opt/csw/bin has been added to the path" do hosts.each do |host| assert(0 == on(host, "grep \"/opt/csw/bin\" #{host[:ssh_env_file]}").exit_code) end end end confine_block :to, :platform => /openbsd/ do step "confirm PKG_PATH is set in the ssh environment file" do hosts.each do |host| assert(0 == on(host, "grep \"PKG_PATH\" #{host[:ssh_env_file]}").exit_code) end end end end
Version data entries
128 entries across 128 versions & 1 rubygems