inspec/test/functional
Jerry Aldrich bbc4002b53 Fix profile vendoring on Windows (#3378)
* Fix profile vendoring on Windows

This fixes vendoring on Windows by doing the following:
  - Expanding relative paths (handles `\\`)
  - Ensuring archives after closed after reading (prevents locking)

This also does the following:
  - Removes extra file from testing tar archive
  - Ensures fetching dirs/archives in the local fetcher behaves the same

* Fix profile vendoring on Windows

This fixes vendoring on Windows by doing the following:
  - Expanding relative paths (handles `\\`)
  - Ensuring archives after closed after reading (prevents locking)

This also does the following:
  - Removes extra file from testing tar archive
  - Ensures fetching dirs/archives in the local fetcher behaves the same

* Add vendoring to fuctional testing and fix the tmp path for windows

* Add tests for relative paths and backslashes

* Remove backslashes support in filenames on Linux

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-09-13 20:19:02 -04:00
..
attributes_test.rb Implement InSpec global attributes (#3318) 2018-09-12 16:42:58 -04:00
filter_table_test.rb Accept regexes for --controls option to inspec exec (#3179) 2018-07-05 15:44:30 -04:00
gitfetcher_test.rb Rename --no-write-lockfile to --no-create-lockfile 2016-09-22 10:08:32 +02:00
helper.rb Fix profile vendoring on Windows (#3378) 2018-09-13 20:19:02 -04:00
inheritance_test.rb Update reporter with breaking inspec 2.0 changes. (#2487) 2018-02-14 11:54:20 -05:00
inspec_archive_test.rb Various improvements to vendor command (#3286) 2018-09-06 23:28:08 -04:00
inspec_artifact_test.rb fix intermitten functional vendor test failures (#1919) 2017-06-12 14:01:26 +02:00
inspec_check_test.rb Enable inspec archive, check, and json to run as unpriveleged user (#3263) 2018-08-07 12:12:41 -04:00
inspec_compliance_test.rb Bump Thor to version 0.20.0. (#2843) 2018-03-21 10:44:28 -07:00
inspec_detect_test.rb Update shell detect to work with platforms (#2712) 2018-02-20 07:37:23 -05:00
inspec_exec_automate.rb Error cleanly if a reporter errors while rendering (#3280) 2018-08-09 09:18:10 -04:00
inspec_exec_json_test.rb Add string impact options for controls (#3359) 2018-09-13 14:14:05 -04:00
inspec_exec_jsonmin_test.rb docs: Update example resource (#2904) 2018-04-05 08:50:49 -04:00
inspec_exec_junit_test.rb Update reporter with breaking inspec 2.0 changes. (#2487) 2018-02-14 11:54:20 -05:00
inspec_exec_test.rb Add windows functional tests (#3385) 2018-09-12 18:04:16 -04:00
inspec_init_test.rb When a profile is created with init, the last item after a / is the (#3175) 2018-07-05 15:37:18 -04:00
inspec_json_profile_test.rb Prevent logs from showing up when running inspec json (#3391) 2018-09-13 13:05:10 -04:00
inspec_report_test.rb Make sure we have a proper exit code and report data. (#2747) 2018-02-26 16:50:51 -05:00
inspec_schema_test.rb Add platforms schema command (#3346) 2018-09-13 15:36:17 -04:00
inspec_shell_test.rb Update inspec detect to support APIs/Families (#2634) 2018-02-14 15:06:39 -05:00
inspec_supermakert_test.rb Fix bundle exec calls (#2670) 2018-02-17 16:49:52 +01:00
inspec_test.rb Update inspec detect to support APIs/Families (#2634) 2018-02-14 15:06:39 -05:00
inspec_vendor_test.rb Fix profile vendoring on Windows (#3378) 2018-09-13 20:19:02 -04:00
plugins_test.rb Plugins V2 API: CLI Command Plugin Type, Again (#3296) 2018-08-16 20:22:28 -04:00