From: Viktor Szakats Date: Thu, 11 Feb 2021 22:06:02 +0000 (+0000) Subject: tests: disable .curlrc in more environments X-Git-Tag: curl-7_76_0~163 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd6b54ba1f55b5;p=thirdparty%2Fcurl.git tests: disable .curlrc in more environments by also setting CURL_HOME and XDG_CONFIG_HOME envvars to the local directory. Reviewed-by: Daniel Stenberg Fixes #6595 Closes #6596 --- diff --git a/tests/runtests.pl b/tests/runtests.pl index ddee02ad36..47b44acb6c 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -388,6 +388,8 @@ $ENV{'CURL_ENTROPY'}="12345678"; $ENV{'CURL_FORCETIME'}=1; # for debug NTLM magic $ENV{'CURL_GLOBAL_INIT'}=1; # debug curl_global_init/cleanup use $ENV{'HOME'}=$pwd; +$ENV{'CURL_HOME'}=$ENV{'HOME'}; +$ENV{'XDG_CONFIG_HOME'}=$ENV{'HOME'}; $ENV{'COLUMNS'}=79; # screen width! sub catch_zap {