HomePhorge

(Maint) Don't assume paths are absolute
a23cf6e9e1ebUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(Maint) Don't assume paths are absolute

Previously, the spec test failed on Windows, because the test assumed that
paths such as '/sbin/rc-service' are absolute on every platform. Since
they are not absolute on Windows, the test would fail.

This commit changes the test to not rely on the internals of the
Puppet::Util.which command that is included in every provider.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc88735293b0d: Merge pull request #654 from stschulte/feature/2.7.x/13880
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUa23cf6e9e1eb: (Maint) Don't assume paths are absolute (authored by Josh Cooper <josh@puppetlabs.com>).Jul 17 2012, 7:50 PM