diff options
author | neha-p6 <neha.pansare@progress.com> | 2022-07-11 16:24:26 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 16:24:26 +0530 |
commit | 4797e01535af8e33ace9ef3a7404dd8256913bce (patch) | |
tree | 62316be0357fea8b6b05347e4e502242c841c2e8 /spec | |
parent | ae13bc5695119051eea89d8b313821103850a1d7 (diff) | |
download | chef-4797e01535af8e33ace9ef3a7404dd8256913bce.tar.gz |
Revert "Use new msys2 based devkit for windows" (#13063)
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 1db85e35f5..151ad2387c 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("chcp > \"#{script_output_path}\"") + resource.code("whoami > \"#{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("chcp > \"#{script_output_path}\"") + resource.code("whoami > \"#{script_output_path}\"") resource.returns(0) resource.run_action(:run) end |