Issue #12490 has been updated by Matthaus Owens. Status changed from Merged - Pending Release to Closed
Released in Puppet 3.0.0rc1 ---------------------------------------- Bug #12490: execution_spec is stomping on process ENV variables https://projects.puppetlabs.com/issues/12490#change-72591 Author: Chris Price Status: Closed Priority: Urgent Assignee: Chris Price Category: testing Target version: 3.0.0 Affected Puppet version: development Keywords: Branch: https://github.com/puppetlabs/puppet/pull/478 The execute_posix method: a) Should not be called during windows test runs, and b) Needs to take more care not to inadvertently set environment variables in the main ruby process. When the test was written, I assumed that the latter would not be a problem because the environment variable manipulation was only supposed to happen in a forked process; however, because these tests stub the Kernel.fork method, the process is never actually forked and thus the environment variable manipulation happens in the parent process. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
