From bd6b54ba1f55b579b7fc90de271bb1992a8fb975 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 11 Feb 2021 22:06:02 +0000 Subject: 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 --- tests/runtests.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/runtests.pl b/tests/runtests.pl index ddee02ad3..47b44acb6 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 { -- cgit v1.2.1