Skip to content

Commit

Permalink
test/main: don't use any HTTP(S) proxy with localhost (#14036)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomponline authored Sep 3, 2024
2 parents 495e793 + 31e51dd commit b073776
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ export LC_ALL="C"
# Force UTC for consistency
export TZ="UTC"

if [ -z "${NO_PROXY:-}" ]; then
# Prevent proxy usage for some host names/IPs (comma-separated list)
export NO_PROXY="127.0.0.1"
fi

export DEBUG=""
if [ -n "${LXD_VERBOSE:-}" ]; then
DEBUG="--verbose"
Expand Down

0 comments on commit b073776

Please sign in to comment.