Commit 02e4d5fd authored by Christopher Huhn's avatar Christopher Huhn 🥚
Browse files

Some more tests

parent b68d8afc
......@@ -13,3 +13,21 @@ describe file('/cvmfs') do
it { should exist }
it { should be_directory }
end
describe command('cvmfs_config chksetup') do
its(:exit_status) { should be_zero }
end
describe command('automount -m') do
before do
`systemctl reload autofs.service`
end
its(:exit_status) { should be_zero }
its(:stderr) { should be_empty }
its(:stdout) { should contain "Mount point: /cvmfs" }
its(:stdout) { should contain "map: /etc/auto.cvmfs" }
end
describe file('/cvmfs/cvmfs-config.cern.ch') do
it { should be_directory }
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment