moby--moby/internal/test
Sebastiaan van Stijn b84bff7f8a
Fix: plugin-tests discarding current environment
By default, exec uses the environment of the current process, however,
if `exec.Env` is not `nil`, the environment is discarded:

e73f489494/src/os/exec/exec.go (L57-L60)

> If Env is nil, the new process uses the current process's environment.

When adding a new environment variable, prepend the current environment,
to make sure it is not discarded.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-01-12 13:06:25 +01:00
..
daemon Merge pull request #38486 from thaJeztah/dont_use_deprecated_envclient 2019-01-05 11:23:19 +01:00
environment migrated ipc integration tests to integration/container 2018-09-14 17:19:34 -04:00
fakecontext Make testing helpers as such… 2018-04-20 10:38:43 +02:00
fakegit Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
fakestorage Fix some minor wording / issues 2019-01-07 13:57:01 +01:00
fixtures Fix: plugin-tests discarding current environment 2019-01-12 13:06:25 +01:00
registry Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
request Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
helper.go Make testing helpers as such… 2018-04-20 10:38:43 +02:00