Преглед изворни кода

Added tests for rng-tools to serverspec based tests

Till Klocke пре 9 година
родитељ
комит
b3410e75bf
1 измењених фајлова са 9 додато и 0 уклоњено
  1. 9 0
      test/integration/fastd/serverspec/test_spec.rb

+ 9 - 0
test/integration/fastd/serverspec/test_spec.rb

@@ -5,4 +5,13 @@ set :backend, :exec
 
 describe package('fastd') do
   it { should be_installed }
+end
+
+describe package('rng-tools') do
+  it { should be_installed }
+end
+
+describe file('/etc/default/rng-tools') do
+  it { should exist }
+  its(:content) { should match /HRNGDEVICE=\/dev\/urandom/ }
 end