title: How to write test for chef make install
body: <p>I am trying to write some tests for a chef Nginx cookbook. I have come to a block. I need to write a test for the code below. I can test for the <code>core_lock</code> released. I am unsure how to test for the <code>make install</code> as well as <code>./autogen.sh</code> and <code>./configure --enable-standalone-module</code></p>
  
  <p>The docs have not been too helpful since this is a bash command the docs are a bit sparse.</p>
  
  <p><strong>Code need test for</strong></p>
  
  <pre><code>bash 'compile_modsecurity' do
    cwd modsec_compile_path
    code &lt;&lt;-EOH
      ./autogen.sh
      ./configure --enable-standalone-module
      make
      make install
    EOH
    action :nothing
    notifies :run, 'bash[release_core_nginx_lock]', :immediately
  end
  </code></pre>