diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-12 10:00:03 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-12 11:03:13 -0700 |
commit | 79b9938e5eaa0d7b6cff2c31ccae232d64ba440d (patch) | |
tree | 0de4a16f3cecdca583f0b00ef89b3349ddf0e4c2 /spec | |
parent | f400002d1a68b8ee672dea92ddfc6ff15624d9d2 (diff) | |
download | chef-79b9938e5eaa0d7b6cff2c31ccae232d64ba440d.tar.gz |
Mark failing test as pending on versions of powershell < 4jdm/posh
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')
-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" |