瀏覽代碼

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