summaryrefslogtreecommitdiffstats
path: root/spec/integration/parser/compiler_spec.rb
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppetlabs.com>2011-07-27 17:04:45 -0700
committerJosh Cooper <josh@puppetlabs.com>2011-07-28 14:32:13 -0700
commitd9ce88d10707268fe41c8f3ad1166137fe8e202f (patch)
tree2d1a40b19a40e8e56be539a4b9cf71b19056a083 /spec/integration/parser/compiler_spec.rb
parent0668c5e4ef080c5dd7e37f35b72b484ca6574fdb (diff)
downloadpuppet-d9ce88d10707268fe41c8f3ad1166137fe8e202f.tar.gz
puppet-d9ce88d10707268fe41c8f3ad1166137fe8e202f.tar.xz
puppet-d9ce88d10707268fe41c8f3ad1166137fe8e202f.zip
(#8663) Disable spec tests for unsupported functionality on Windows
The mount, shell, and ssh_authorized_key types are not supported on Windows, so these spec tests have been disabled when running on Windows. One of the compiler spec tests fails on Windows because Puppet::Util.execute attempts to execute a program named "git rev-parse HEAD". This has different semantics than Unix, where the command is splatted, Kernel.exec(*command). Since this truly is a Windows bug, I removed the fails_on_windows tag and updated ticket #8410. Reviewed-by: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'spec/integration/parser/compiler_spec.rb')
-rwxr-xr-xspec/integration/parser/compiler_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/parser/compiler_spec.rb b/spec/integration/parser/compiler_spec.rb
index 51611f888..9f6aae907 100755
--- a/spec/integration/parser/compiler_spec.rb
+++ b/spec/integration/parser/compiler_spec.rb
@@ -13,7 +13,7 @@ describe Puppet::Parser::Compiler do
Puppet.settings.clear
end
- it "should be able to determine the configuration version from a local version control repository", :fails_on_windows => true do
+ it "should be able to determine the configuration version from a local version control repository" do
# This should always work, because we should always be
# in the puppet repo when we run this.
version = %x{git rev-parse HEAD}.chomp