diff options
author | Josh Kraft <joshkraft757@gmail.com> | 2023-08-16 18:36:46 -0600 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-08-21 17:46:57 +0000 |
commit | e4a8fb0fa04a95876e8c5cc6ce6850a06d3d670a (patch) | |
tree | 3f26881a2fd3ada2f40c3453ff051ea33fd0b371 /misc | |
parent | a7c3de705287d56e3bea8a84ed9a56e4102d3f39 (diff) | |
download | go-e4a8fb0fa04a95876e8c5cc6ce6850a06d3d670a.tar.gz go-e4a8fb0fa04a95876e8c5cc6ce6850a06d3d670a.zip |
os: add tests for UserCacheDir and UserConfigDir
Adds basic test scenarios for UserCacheDir and
UserConfigDir.
Fixes #57638
Change-Id: Ieb86e95faff44287bfa13daa0cb26e7b5401373b
Reviewed-on: https://go-review.googlesource.com/c/go/+/520262
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Bypass: Bryan Mills <bcmills@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/go_android_exec/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/go_android_exec/main.go b/misc/go_android_exec/main.go index 554810c55d..33b669399c 100644 --- a/misc/go_android_exec/main.go +++ b/misc/go_android_exec/main.go @@ -204,6 +204,7 @@ func runMain() (int, error) { `; export GOPROXY=` + os.Getenv("GOPROXY") + `; export GOCACHE="` + deviceRoot + `/gocache"` + `; export PATH="` + deviceGoroot + `/bin":$PATH` + + `; export HOME="` + deviceRoot + `/home"` + `; cd "` + deviceCwd + `"` + "; '" + deviceBin + "' " + strings.Join(os.Args[2:], " ") code, err := adbRun(cmd) |