From ad1a15ace38c474d3151addee83959c155aa5fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 9 Mar 2020 19:38:13 +0000 Subject: [PATCH] set LocalAppData for Windows CI does set it for us, but we don't allow env vars through to the test scripts by default. Linux's default for XDG_CONFIG_DIR will be within the temporary $HOME, so put the Windows one there as well. --- main_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main_test.go b/main_test.go index c6305d0..03bd2fe 100644 --- a/main_test.go +++ b/main_test.go @@ -66,6 +66,7 @@ func TestScripts(t *testing.T) { return err } e.Vars = append(e.Vars, "HOME="+home) + e.Vars = append(e.Vars, "LocalAppData="+home) e.Vars = append(e.Vars, "REPO_HOST="+staticRepoHost) return nil },