summaryrefslogtreecommitdiffstats
path: root/spec/integration/util/autoload.rb
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppetlabs.com>2011-08-04 16:41:11 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-08-19 13:52:59 -0700
commit80092091fb986eb013a12045cdb5f0efe3490702 (patch)
treeb628691a61d99e5f87dac9541c3121300067bd36 /spec/integration/util/autoload.rb
parenta0013e4b2d802f7d10e913da9b89ea912b1564bd (diff)
downloadpuppet-80092091fb986eb013a12045cdb5f0efe3490702.tar.gz
puppet-80092091fb986eb013a12045cdb5f0efe3490702.tar.xz
puppet-80092091fb986eb013a12045cdb5f0efe3490702.zip
(#8663) Exclude git rev-parse HEAD spec test on Windows
When running spec/integration/parser/compiler_spec.rb, the git command passed to Puppet::Util.execute is an array containing a single string ["git rev-parse HEAD"]. On Unix, it calls Kernel.exec(*command), but on Windows it calls Process.create(:command_line =>command), which attempts to execute the program called "git rev-parse HEAD" and fails: CreateProcess() failed: The system cannot find the file specified. This commit marks the test as fails_on_windows, and will be re-enabled when #8410 is fixed. Reviewed-by: Nick Lewis <nick@puppetlabs.com> (cherry picked from commit 7ca187509ce954e5b2707212a5615dbb9eb20378)
Diffstat (limited to 'spec/integration/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions