metasploitable3/chef/cookbooks/metasploitable/test/smoke/default/default_test.rb
2017-07-12 18:15:48 -05:00

19 lines
465 B
Ruby

# # encoding: utf-8
# Inspec test for recipe metasploitable::default
# The Inspec reference, with examples and extensive documentation, can be
# found at http://inspec.io/docs/reference/resources/
unless os.windows?
describe user('root') do
it { should exist }
skip 'This is an example test, replace with your own test.'
end
end
describe port(80) do
it { should_not be_listening }
skip 'This is an example test, replace with your own test.'
end