From 21ac7cd738236f30882005fa5c8e2705eda802c8 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 6 Apr 2017 11:53:03 +0200 Subject: [PATCH] bind: check for chroot --- bind/tests/spec/bind_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bind/tests/spec/bind_spec.rb b/bind/tests/spec/bind_spec.rb index 82115365..71803579 100644 --- a/bind/tests/spec/bind_spec.rb +++ b/bind/tests/spec/bind_spec.rb @@ -12,3 +12,7 @@ end describe port(53) do it { should be_listening } end + +describe command("ps auwx | grep bind") do + its(:stdout) { should include " -t /var/chroot-bind" } +end