diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-07 13:19:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 13:19:41 +0200 |
commit | 22fdb8e1fafecd6e066039a4bbedea4c1aeb2260 (patch) | |
tree | 3b82719b86cb577e3b4c0c5986f088340a591cb7 /test | |
parent | 6254d38720ef8a4110451a2d1daecc826f80a272 (diff) | |
parent | f6e3cfa538935c508e31fc7a12138d0805c02d9b (diff) | |
download | podman-22fdb8e1fafecd6e066039a4bbedea4c1aeb2260.tar.gz podman-22fdb8e1fafecd6e066039a4bbedea4c1aeb2260.tar.bz2 podman-22fdb8e1fafecd6e066039a4bbedea4c1aeb2260.zip |
Merge pull request #15663 from sstosh/fix-proxy-test
system tests: fix systemd tests in proxy environment
Diffstat (limited to 'test')
-rw-r--r-- | test/system/250-systemd.bats | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/system/250-systemd.bats b/test/system/250-systemd.bats index dd1a0f05a..b449e49d8 100644 --- a/test/system/250-systemd.bats +++ b/test/system/250-systemd.bats @@ -33,7 +33,11 @@ function teardown() { # Helper to start a systemd service running a container function service_setup() { - run_podman generate systemd --new $cname + run_podman generate systemd \ + -e http_proxy -e HTTP_PROXY \ + -e https_proxy -e HTTPS_PROXY \ + -e no_proxy -e NO_PROXY \ + --new $cname echo "$output" > "$UNIT_FILE" run_podman rm $cname |