diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-12 10:00:03 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-12 15:05:02 -0700 |
commit | d2129f7af102fb46c8334788f59791e40f938083 (patch) | |
tree | 10cccaa5a28bf67dc6b6c6e70b144564e3cd0f1b /spec/functional/resource | |
parent | e0124479937661e45b3c915490c064bf4cf8bf46 (diff) | |
download | chef-d2129f7af102fb46c8334788f59791e40f938083.tar.gz |
Mark failing test as pending on versions of powershell < 4jdm/test-ci
This case has never worked before 6c724e866274a728bc66740ab352db7da7d7958f.
It was fixed for 4, however it seems that does not apply to versions < 4.
Diffstat (limited to 'spec/functional/resource')
-rw-r--r-- | spec/functional/resource/powershell_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/functional/resource/powershell_spec.rb b/spec/functional/resource/powershell_spec.rb index 1b3ac844e0..56a905efe7 100644 --- a/spec/functional/resource/powershell_spec.rb +++ b/spec/functional/resource/powershell_spec.rb @@ -56,7 +56,8 @@ describe Chef::Resource::WindowsScript::PowershellScript, :windows_only do resource.run_action(:run) end - it "returns the -27 for a powershell script that exits with -27" do + it "returns the -27 for a powershell script that exits with -27", :windows_powershell_dsc_only do + # This is broken on Powershell < 4.0 file = Tempfile.new(['foo', '.ps1']) begin file.write "exit -27" |