#4001 closed defect (fixed)

The integration test suite doesn't consistently propagate the calling process's environment to child processes

Reported by: exarkun Owned by: GitHub <noreply@…>
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

The integration test suite uses spawnProcess to launch various child processes. Sometimes it propagates the parent process's environment, other times it does not.

Where it does not, there is a risk that the child process will not operate properly because it has a blank environment. The environment is used to configure such things as the executable search path (PATH) and the Python module search path (PYTTHONPATH). It is unreliable to launch processes without propagating these settings.

Change History (1)

comment:1 Changed at 2023-04-03T16:17:03Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 28e442a/trunk:

Merge pull request #1280 from exarkun/4001.propagate-parent-process-env

Propagate parent environment to children in the integration tests

Fixes: ticket:4001

Note: See TracTickets for help on using tickets.