浏览代码

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
 describe package('fastd') do
   it { should be_installed }
   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
 end