inspec/test/integration/default/_debug_spec.rb

8 lines
355 B
Ruby

puts "-----------------------------------"
puts " TEST ENVIRONMENT "
puts "-----------------------------------"
puts " Docker: #{!ENV['DOCKER'].nil?}"
puts " OS name: #{os[:name] || 'unknown' }"
puts "OS release: #{os[:release] || 'unknown'}"
puts " OS family: #{os[:family] || 'unknown'}"
puts "-----------------------------------"