HomePhorge

(#8268) Fix resource harness spec tests
06e0208ec342Unpublished

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>

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU9774c363c9ce: Merge branch 'ticket/master/8356-default-color-should-be-false-on-windows'
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU06e0208ec342: (#8268) Fix resource harness spec tests (authored by Josh Cooper <josh@puppetlabs.com>).Jul 13 2011, 12:42 AM