aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/vendor/github.com')
-rw-r--r--src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go b/src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go
index 5bcd40daa7..32af2e9b20 100644
--- a/src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go
+++ b/src/cmd/vendor/github.com/google/pprof/internal/driver/fetch_test.go
@@ -412,8 +412,10 @@ func TestHttpsInsecure(t *testing.T) {
Symbolize: "remote",
}
rx := "Saved profile in"
- if runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") {
+ if runtime.GOOS == "darwin" && (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") ||
+ runtime.GOOS == "android" {
// On iOS, $HOME points to the app root directory and is not writable.
+ // On Android, $HOME points to / which is not writable.
rx += "|Could not use temp dir"
}
o := &plugin.Options{