diff options
| author | william.r.dieter <william.r.dieter@intel.com> | 2021-01-29 18:39:34 (GMT) |
|---|---|---|
| committer | william.r.dieter <william.r.dieter@intel.com> | 2021-01-29 21:22:15 (GMT) |
| commit | c0b1f5f30c083e78693784405ff2ca301fb29ecb (patch) | |
| tree | 55a6eada747a50f1aa2a7ebec95de1a883c3d4ff /Modules/FindPython | |
| parent | c5691f03e5626f30c432d325ab75117ad1e98bd8 (diff) | |
| download | CMake-c0b1f5f30c083e78693784405ff2ca301fb29ecb.zip CMake-c0b1f5f30c083e78693784405ff2ca301fb29ecb.tar.gz CMake-c0b1f5f30c083e78693784405ff2ca301fb29ecb.tar.bz2 | |
Tests: Add host to ENV{no_proxy} when DNS lookup failure is expected
DNS lookup of an invalid host name fails with a different error in a proxy
environment than it does in an environment without proxy. Many tools,
including curl, use the `no_proxy` environment variable to provid a list
of hosts for which proxy should not be used.
To make lookup failure consistent, add invalid host names to the
`no_proxy` environment variable in tests that attempt to look up invalid
host names. This way the lookup will fail consistently regardless of
whether proxy is generally used or not.
Signed-off-by: william.r.dieter <william.r.dieter@intel.com>
Diffstat (limited to 'Modules/FindPython')
0 files changed, 0 insertions, 0 deletions
