mirror of
https://github.com/containers/podman.git
synced 2025-06-27 21:50:18 +08:00
system tests: fix a system test in proxy environment
When we are using a proxy, 'podman build - basic test' will be failed on remote. This test needs to add the '--http-proxy' option. Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
This commit is contained in:
@ -20,7 +20,7 @@ RUN echo $rand_content > /$rand_filename
|
||||
EOF
|
||||
|
||||
# The 'apk' command can take a long time to fetch files; bump timeout
|
||||
PODMAN_TIMEOUT=240 run_podman build -t build_test --format=docker $tmpdir
|
||||
PODMAN_TIMEOUT=240 run_podman build -t build_test --format=docker --http-proxy $tmpdir
|
||||
is "$output" ".*COMMIT" "COMMIT seen in log"
|
||||
|
||||
run_podman run --rm build_test cat /$rand_filename
|
||||
|
Reference in New Issue
Block a user