HomePhorge

(#8268) Fix resource harness spec tests
af2446ad8ebfUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8268) Fix resource harness spec tests

The windows file type requires that the path start with either a drive
letter or UNC style path. Also Ruby's File implementation on windows
only supports 0644 and 0444 permission bits (it doesn't differentiate
between group and other, and it doesn't know about the execute bit).
This commit maps the path and permissions used in the test to sensible
values when running on windows.

Paired-with: Jacob Helwig <jacob@puppetlabs.com>
(cherry picked from commit 06e0208ec34285e0749c366c8a12817044d7d513)

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
Jacob Helwig <jacob@puppetlabs.com>Committed on Aug 19 2011, 10:48 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd9c3b0f5ac1e: (#8356) Color defaults to false on Windows
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPUaf2446ad8ebf: (#8268) Fix resource harness spec tests (authored by Josh Cooper <josh@puppetlabs.com>).Aug 19 2011, 10:48 PM