Sha256: b9228f401a3d0b85f42fb3d97fbbe7517d7e26e239686953c867d9f005ec447b
Contents?: true
Size: 564 Bytes
Versions: 15
Compression:
Stored size: 564 Bytes
Contents
test_name 'External Resources Test' do step 'Verify EPEL resources are up and available' do def epel_url_test(el_version) url = "#{options[:epel_url]}/epel-release-latest-#{el_version}.noarch.rpm" curl_headers_result = default.exec(Command.new("curl -I #{url}")) assert_match(/200 OK/, curl_headers_result.stdout, "EPEL #{el_version} should be reachable") end step 'Verify el_version numbers 5,6,7 are found on the epel resource' do [5,6,7].each do |el_version| epel_url_test(el_version) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems