title: Chef inspec question bash/command resource
body: <p>I am trying to create a chef inspec resource for bash sciprt to execute, but it seems it is not able to check for the condition.</p>
  <p>describe bash(&quot;cat /etc/shadow | awk -F: '($2 == &quot;&quot;)') do
  its('stdout') { should be_empty }
  end</p>
  <p>Script simply check if the $2 filed is empty or not. But i can see they are empty. but the inspec keeps on failing. I changed from bash to command and yet no luck. Can any one help pls</p>