HomePhorge

Maint: Escape command in regexp
aabbf9e1f097Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Maint: Escape command in regexp

On 64-bit Windows, the directory for 32-bit applications contains
parentheses: C:/Program Files (x86). The test was using this in a regexp
comparison and failing because the parentheses are metacharcters that
need to be escaped.

This failure was introduced when the fails_on_windows exclude filter
was removed (as Puppet::Util.which now works on Windows).

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU88911e04b7e3: Merge branch 'maint/master/pending-windows'
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUaabbf9e1f097: Maint: Escape command in regexp (authored by Josh Cooper <josh@puppetlabs.com>).Apr 19 2012, 8:00 AM