HomePhorge

(Maint) Tempfile paths on Mac contain '+' which must be escaped
b04aac03150bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(Maint) Tempfile paths on Mac contain '+' which must be escaped

Previously, the test was failing on Mac, because Tempfile returns a path
of the form /var/folders/9z/9zXImgchH8CZJh6SgiqS2U+++TM/-Tmp-/foo, and
performing a regex match with it. Since '+' is a regex metacharacter it
must be escaped.

Reviewed-by: Daniel Pittman <daniel@rimspace.net>

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU25018ef96c99: Merge remote-tracking branch 'seanmil/schedule/feature/13054_rangespan-rebase'
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUb04aac03150b: (Maint) Tempfile paths on Mac contain '+' which must be escaped (authored by Josh Cooper <josh@puppetlabs.com>).Apr 12 2012, 1:58 AM