inspec/lib/plugins
James Stocks d94d56c4b9 Ignore intermittent test teardown error
Occasionally when the `isolated` tests run in CI, this error is seen:

```
inspec-reporter-html2::when run on a basic profile#test_0002_should produce valid HTML:
Errno::ENOENT: No such file or directory @ apply2files - /tmp/temp20200625-1802-2izu7e.html
    /usr/local/lib/ruby/2.6.0/fileutils.rb:1437:in `unlink'
    /usr/local/lib/ruby/2.6.0/fileutils.rb:1437:in `block in remove_file'
    /usr/local/lib/ruby/2.6.0/fileutils.rb:1442:in `platform_support'
    /usr/local/lib/ruby/2.6.0/fileutils.rb:1436:in `remove_file'
    /usr/local/lib/ruby/2.6.0/fileutils.rb:775:in `remove_file'
    /usr/local/lib/ruby/2.6.0/fileutils.rb:562:in `block in rm'
    /usr/local/lib/ruby/2.6.0/fileutils.rb:561:in `each'
    /usr/local/lib/ruby/2.6.0/fileutils.rb:561:in `rm'
    lib/plugins/inspec-reporter-html2/test/functional/inspec_reporter_html2_test.rb:9:in `teardown'
```

It should be OK to ignore the failure to delete the test file - the issue doesn't reproduce on laptops, and CI uses clean VMs each time.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-06-26 09:23:21 +01:00
..
inspec-artifact Stores output of inspec json to archive and artifact 2020-05-20 12:34:17 +01:00
inspec-compliance Fix typo's after review 2020-04-20 09:50:58 -04:00
inspec-habitat Fix test failure for call to vendor! w/o options. 2020-01-03 17:12:51 -08:00
inspec-init Add ability to generate reporter plugins using inspec init 2020-05-12 17:00:44 -04:00
inspec-plugin-manager-cli Ignore deprecation warning in fileutils and rubygems gems under ruby 2.7 2020-04-08 10:56:55 -04:00
inspec-reporter-html2 Ignore intermittent test teardown error 2020-06-26 09:23:21 +01:00
inspec-reporter-json-min Use RunData object instead of Hash 2020-06-02 15:29:52 -04:00
shared Fixed env vars on functional plugin tests for windows. 2019-11-12 14:51:56 -08:00
README.md Plugins: Add support for 'bundles' migration (#3384) 2018-09-18 00:00:54 -04:00
things-for-train-integration.rb Plugins: Support for Train Plugins in InSpec (#3444) 2018-09-27 18:46:35 -04:00

Core Plugins of InSpec

This area contains the plugins that ship with InSpec. They are automatically detected by the plugin loader.

inspec-* directories

Each subdirectory here that begins with inspec- is intended to be a self-contained plugin project, with code, docs, and tests.

shared directory

This directory contains material that is reusable for core plugins, such as a test helper tuned to assisting core plugin testing.