summaryrefslogtreecommitdiff
path: root/spec/unit/util/execution_stub_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/util/execution_stub_spec.rb')
-rwxr-xr-xspec/unit/util/execution_stub_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/unit/util/execution_stub_spec.rb b/spec/unit/util/execution_stub_spec.rb
index 57305e315..b66f88f83 100755
--- a/spec/unit/util/execution_stub_spec.rb
+++ b/spec/unit/util/execution_stub_spec.rb
@@ -16,7 +16,8 @@ describe Puppet::Util::ExecutionStub do
Puppet::Util::ExecutionStub.current_value.should == nil
end
- it "should restore normal execution after 'reset' is called" do
+ # fails on windows, see #11740
+ it "should restore normal execution after 'reset' is called", :fails_on_windows => true do
# Note: "true" exists at different paths in different OSes
if Puppet.features.microsoft_windows?
true_command = [Puppet::Util.which('cmd.exe').tr('/', '\\'), '/c', 'exit 0']