HomePhorge

(#8663) Exclude git rev-parse HEAD spec test on Windows
7ca187509ce9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#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>

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUe45f08bf1fef: Merge branch 'master' of github.com:puppetlabs/puppet
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU7ca187509ce9: (#8663) Exclude git rev-parse HEAD spec test on Windows (authored by Josh Cooper <josh@puppetlabs.com>).Aug 5 2011, 1:41 AM