aboutsummaryrefslogtreecommitdiff
path: root/test/system/255-auto-update.bats
diff options
context:
space:
mode:
authorTsubasa Watanabe <w.tsubasa@fujitsu.com>2022-09-06 14:09:08 +0900
committerTsubasa Watanabe <w.tsubasa@fujitsu.com>2022-09-06 14:22:31 +0900
commit04f0ac2aab766e6d778ff336e3d483e09413bd38 (patch)
treea82f29c6ad4f424ad3152f724ac72f71680d2a84 /test/system/255-auto-update.bats
parent8882b7664d225bf7f8efac6ab10e8d583e48c712 (diff)
downloadpodman-04f0ac2aab766e6d778ff336e3d483e09413bd38.tar.gz
podman-04f0ac2aab766e6d778ff336e3d483e09413bd38.tar.bz2
podman-04f0ac2aab766e6d778ff336e3d483e09413bd38.zip
system tests: fix some tests in proxy environment
Some system tests in `255-auto-update.bats` and `500-networking.bats` fail under proxy environment. This PR fixes this problem. Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
Diffstat (limited to 'test/system/255-auto-update.bats')
-rw-r--r--test/system/255-auto-update.bats6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/system/255-auto-update.bats b/test/system/255-auto-update.bats
index c6f9600b6..c39d15d0c 100644
--- a/test/system/255-auto-update.bats
+++ b/test/system/255-auto-update.bats
@@ -375,6 +375,12 @@ After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/podman auto-update
+Environment="http_proxy=${http_proxy}"
+Environment="HTTP_PROXY=${HTTP_PROXY}"
+Environment="https_proxy=${https_proxy}"
+Environment="HTTPS_PROXY=${HTTPS_PROXY}"
+Environment="no_proxy=${no_proxy}"
+Environment="NO_PROXY=${NO_PROXY}"
[Install]
WantedBy=default.target