diff options
author | Corey Hemminger <hemminger@hotmail.com> | 2022-07-26 14:16:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 14:16:10 -0500 |
commit | a3c95f022f1c4c9b44d575464bf77b168a5a0a65 (patch) | |
tree | 9924d62d18015627df0a54d04944b9a58f2748c7 /spec | |
parent | ce8e6412c44228758b66432f0f11f3c4deee183a (diff) | |
parent | afc800c2a9caa210508bfde90e706a00f6c68e94 (diff) | |
download | chef-a3c95f022f1c4c9b44d575464bf77b168a5a0a65.tar.gz |
Merge branch 'chef:main' into patch-1
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/shared/functional/windows_script.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared/functional/windows_script.rb b/spec/support/shared/functional/windows_script.rb index 151ad2387c..1db85e35f5 100644 --- a/spec/support/shared/functional/windows_script.rb +++ b/spec/support/shared/functional/windows_script.rb @@ -163,7 +163,7 @@ shared_context Chef::Resource::WindowsScript do describe "when the run action is invoked on Windows" do it "executes the script code" do - resource.code("whoami > \"#{script_output_path}\"") + resource.code("chcp > \"#{script_output_path}\"") resource.returns(0) resource.run_action(:run) end @@ -199,7 +199,7 @@ shared_context Chef::Resource::WindowsScript do end it "executes the script code" do - resource.code("whoami > \"#{script_output_path}\"") + resource.code("chcp > \"#{script_output_path}\"") resource.returns(0) resource.run_action(:run) end |