Skip to content

Commit 6a71211

Browse files
committed
resolved_spec: test for NSS library packages installed on Debian family
1 parent 392f842 commit 6a71211

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/acceptance/resolved_spec.rb

+10
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@
2525
end
2626

2727
it { expect(package('systemd-resolved')).to be_installed } if has_package
28+
29+
if fact('os.family') == 'Debian'
30+
%w[
31+
myhostname
32+
resolve
33+
systemd
34+
].each do |pkg|
35+
expect(package("libnss-#{pkg}")).to be_installed
36+
end
37+
end
2838
end
2939

3040
context 'configure systemd stopped' do

0 commit comments

Comments
 (0)