Browse Source

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.
pull/44/head
Daniel Martí 6 years ago
parent
commit
ad1a15ace3
  1. 1
      main_test.go

1
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
},

Loading…
Cancel
Save