From: Ralph Corderoy Date: Sat, 20 Jan 2018 08:57:40 +0000 (+0000) Subject: test/common.sh.in: Unset libcurl(3)'s proxy environment variables. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/5303e0f65b71e1336944a5b10356d6a99528511a test/common.sh.in: Unset libcurl(3)'s proxy environment variables. Debian's packager, Alexander Zanger, reported test/oauth/test-* problems due to environment variables for the system's network proxies. David Levine suggested the unsetting of them. The tests only make HTTP connections so just the variables affecting those are unset. --- diff --git a/test/common.sh.in b/test/common.sh.in index 8c054cd6..0cb64cc7 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -39,6 +39,9 @@ unset MHLDEBUG MHWDEBUG PAGER XOAUTH SMTPUTF8 #### Set LC_ALL in individual tests as needed. Unset these so #### that we don't depend on user's settings in other tests. unset LANG LC_ALL LC_CTYPE +# Don't have libcurl(3) use the environment's proxy for tests' +# connections to 127.0.0.1. +unset http_proxy ALL_PROXY all_proxy #### Use a test dir for tmp files when MHTMPDIR applies. MHTMPDIR="$MH_TEST_DIR"/Mail