Sha256: 8b2c4f71dcd77d15d2c227185e06ca5803cbf89979ff370850238ef428135f8b
Contents?: true
Size: 990 Bytes
Versions: 8
Compression:
Stored size: 990 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_equal(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_equal(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_equal(0, on(host, "grep \"PKG_PATH\" #{host[:ssh_env_file]}").exit_code) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems