Browse Source

test(inspec): check that apt-cacher-ng port is opened

tags/v0.7.0
Nicolas Rodriguez 5 years ago
parent
commit
19acc34d8e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      test/integration/default/controls/service_spec.rb

+ 3
- 0
test/integration/default/controls/service_spec.rb View File

@@ -8,5 +8,8 @@ control 'AptCacherNG service' do

describe port(9999) do
it { should be_listening }
its('processes') { should include 'apt-cacher-ng' }
its('protocols') { should include 'tcp' }
its('addresses') { should include '0.0.0.0' }
end
end

Loading…
Cancel
Save