diff options
author | Viktor Szakats <commit@vsz.me> | 2021-02-11 22:06:02 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2021-02-11 22:06:02 +0000 |
commit | bd6b54ba1f55b579b7fc90de271bb1992a8fb975 (patch) | |
tree | bd1a0efa12e2f81ee4454a251a8a87bc2190780c /tests | |
parent | acd90af51f65699ecf3738697ede5088f9b0fc56 (diff) | |
download | curl-bd6b54ba1f55b579b7fc90de271bb1992a8fb975.tar.gz |
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
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |