mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-26 19:41:35 +08:00

This adds some e2e tests for environment variables set in the config.json. These were based on tests that failed on docker CI[1][2] after the refactor on06f1e0765
("libct: speedup process.Env handling") and some bugs that I had along the way trying to fix it. These tests pass with runc 1.2 too. [1]:843e51459f/integration-cli/docker_cli_run_test.go (L822-L843)
[2]:843e51459f/integration-cli/docker_cli_links_test.go (L197-L204)
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com> (cherry picked from commit19c6515471
)