Page MenuHomeSoftware Heritage

system_reload_spec.rb
No OneTemporary

system_reload_spec.rb

require 'spec_helper'
describe 'docker::systemd_reload', :type => :class do
let(:facts) { {
:osfamily => 'Debian',
:operatingsystem => 'Debian',
:lsbdistid => 'Debian',
:lsbdistcodename => 'stretch',
:kernelrelease => '9.3.0-amd64',
:operatingsystemrelease => '9.3',
:operatingsystemmajrelease => '9',
} }
context 'with systems that have systemd' do
it { should contain_exec('docker-systemd-reload').with(
'path' => ['/bin/', '/sbin/', '/usr/bin/', '/usr/sbin/'],
'command' => 'systemctl daemon-reload',
'refreshonly' => 'true'
) }
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Sat, Jun 21, 9:07 PM (4 w, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3407463

Event Timeline