DockerCLI/e2e
Sebastiaan van Stijn fc8717799f
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>
(cherry picked from commit 6c4fbb7738)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-03-17 15:47:28 +01:00
..
container Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
image Make test-e2e run against experimental and non-experimental daemon 2018-06-25 11:46:35 +02:00
internal/fixtures Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
plugin Fix: plugin-tests discarding current environment 2019-03-17 15:47:28 +01:00
stack Fix help message flags on docker stack commands and sub-commands 2018-08-01 01:48:27 +02:00
system Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
testdata e2e: avoid `usermod -p` by using `useradd`'s `--password` option 2019-03-12 10:36:15 +01:00
trust Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
compose-env.connhelper-ssh.yaml connhelper: add e2e 2018-12-17 17:22:58 +01:00
compose-env.experimental.yaml Make test-e2e run against experimental and non-experimental daemon 2018-06-25 11:46:35 +02:00
compose-env.yaml Make e2e test image 2018-05-29 13:39:31 +02:00