summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMatt Wrock <matt@mattwrock.com>2022-06-29 16:00:38 -0700
committerMatt Wrock <matt@mattwrock.com>2022-06-29 16:00:38 -0700
commit094a85a95b7101ce0446112a220ca701c5e5ccb6 (patch)
tree929a1c8f1a6bbca86e36c476e788a0f458736a82 /spec
parent83fdbf86661ebd63acf5b726de26fcfce7fbe97a (diff)
downloadchef-094a85a95b7101ce0446112a220ca701c5e5ccb6.tar.gz
use new msys2 devkit for windows
Signed-off-by: Matt Wrock <matt@mattwrock.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/support/shared/functional/windows_script.rb4
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