mirror of
https://github.com/inspec/inspec
synced 2024-12-02 17:40:00 +00:00
9b7c292d4c
Helps testing and lots of other things if we only use $stdout/$stderr. STDOUT/STDERR should only be used to restore the globals. Signed-off-by: Ryan Davis <zenspider@chef.io>
8 lines
419 B
Ruby
8 lines
419 B
Ruby
$stderr.puts "-----------------------------------"
|
|
$stderr.puts " TEST ENVIRONMENT "
|
|
$stderr.puts "-----------------------------------"
|
|
$stderr.puts " Docker: #{!ENV['DOCKER'].nil?}"
|
|
$stderr.puts " OS name: #{os[:name] || 'unknown' }"
|
|
$stderr.puts "OS release: #{os[:release] || 'unknown'}"
|
|
$stderr.puts " OS family: #{os[:family] || 'unknown'}"
|
|
$stderr.puts "-----------------------------------"
|