inspec/test/unit/mock/cmd/find-nginx-confd-multiple-conf
Jerry Aldrich 80c595ba3d nginx_conf: Fix commented/empty file parsing
This fixes `nginx_conf.params` when:
  - Given an empty file
  - Given a file with only comments
  - Given a file that has an include for a file that:
    - Is empty
    - Has all lines commented out

This also fixes a test where a missing file is actually empty

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-06-17 21:57:26 -08:00

4 lines
128 B
Text

/etc/nginx/conf.d/comments_only.conf
/etc/nginx/conf.d/empty.conf
/etc/nginx/conf.d/foobar.conf
/etc/nginx/conf.d/multiple.conf