projects
/
arvados-formula.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(distro): add centos-7 support
[arvados-formula.git]
/
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 a33f268b972c9c5c0beb2ff78d88acee43326c51..6ebfc8b6d0b45781f72d027736ba68b6528f1acc 100644
(file)
--- 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'
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 }
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
end
end