mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-20 20:05:45 +02:00
11 lines
269 B
Ruby
11 lines
269 B
Ruby
|
if os[:name] == 'amazon'
|
||
|
describe command('/usr/bin/docker --version') do
|
||
|
its(:exit_status) { should eq 0 }
|
||
|
end
|
||
|
else
|
||
|
describe command('/usr/bin/docker --version') do
|
||
|
its(:exit_status) { should eq 0 }
|
||
|
its(:stdout) { should match(/18.06.0/) }
|
||
|
end
|
||
|
end
|