mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Fixed env vars on functional plugin tests for windows.
Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
ead386df14
commit
a27eef1d0b
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ module CorePluginFunctionalHelper
|
|||
if opts.key?(:prefix)
|
||||
prefix = opts[:prefix]
|
||||
elsif opts.key?(:env)
|
||||
prefix = opts[:env].to_a.map { |assignment| "#{assignment[0]}=#{assignment[1]}" }.join(" ")
|
||||
prefix = assemble_env_prefix opts[:env]
|
||||
end
|
||||
|
||||
TRAIN_CONNECTION.run_command("#{prefix} #{exec_inspec} #{command_line}")
|
||||
|
|
Loading…
Reference in a new issue