DockerCLI/scripts
Sebastiaan van Stijn 6c4fbb7738
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-03-04 20:18:24 +01:00
..
build Add some simple e2e tests for executing CLI plugins 2019-01-30 13:44:05 +00:00
docs Add AUTHORS file and script 2018-01-02 17:00:22 +01:00
gen Add scripts folder to shellcheck 2017-07-19 16:33:58 +01:00
test/e2e Fix: plugin-tests discarding current environment 2019-03-04 20:18:24 +01:00
validate Fixes some unit tests to be able to run them on windows 2018-03-07 18:18:13 +01:00
winresources Remove unused windows resourcefiles. 2017-05-15 22:50:33 -04:00
make.ps1 Remove unused powershell function 2018-03-07 18:18:14 +01:00
warn-outside-container Allow running `make help` without out-of-container warning 2018-07-31 10:56:48 +02:00