X-Git-Url: https://git.arvados.org/arvados-formula.git/blobdiff_plain/86ea398742e99ab5942705b342b0f0ac7bdef41d..ba5e37ebc18049d4340388fc0c19dcb2a78d6a86:/test/integration/shell/controls/services_spec.rb diff --git a/test/integration/shell/controls/services_spec.rb b/test/integration/shell/controls/services_spec.rb index a33f268..6ebfc8b 100644 --- a/test/integration/shell/controls/services_spec.rb +++ b/test/integration/shell/controls/services_spec.rb @@ -4,13 +4,20 @@ control 'arvados shellinabox service' do impact 0.5 title 'should be running and enabled' - describe service('shellinabox') do + serv = case os[:name] + when 'centos' + 'shellinaboxd' + when 'debian', 'ubuntu' + 'shellinabox' + end + + describe service(serv) do it { should be_enabled } it { should be_running } end describe port(4200) do it { should be_listening } - its('processes') { should include 'shellinaboxd' } + its('processes') { should cmp 'shellinaboxd' } end end