apt-repositories: test replacements for empty results
This commit is contained in:
parent
10294e0490
commit
a1466bfcdb
|
@ -13,9 +13,11 @@ describe file("/etc/apt/preferences.d/0-backports-defaults") do
|
|||
end
|
||||
|
||||
describe command("grep 'main contrib non-free' /etc/apt/sources.list.d/backports.list") do
|
||||
its(:stdout) { should_not be_empty }
|
||||
its(:exit_status) { should eq 0 }
|
||||
end
|
||||
|
||||
describe command("grep 'main contrib non-free' /etc/apt/sources.list") do
|
||||
its(:stdout) { should_not be_empty }
|
||||
its(:exit_status) { should eq 0 }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue