summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-07 13:19:41 +0200
committerGitHub <noreply@github.com>2022-09-07 13:19:41 +0200
commit22fdb8e1fafecd6e066039a4bbedea4c1aeb2260 (patch)
tree3b82719b86cb577e3b4c0c5986f088340a591cb7
parent6254d38720ef8a4110451a2d1daecc826f80a272 (diff)
parentf6e3cfa538935c508e31fc7a12138d0805c02d9b (diff)
downloadpodman-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
-rw-r--r--test/system/250-systemd.bats6
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