]> Cypherpunks.ru repositories - gostls13.git/commitdiff
net: android no longer supports unix/unixgram
authorDavid Crawshaw <crawshaw@golang.org>
Mon, 19 Oct 2015 18:41:38 +0000 (14:41 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Mon, 19 Oct 2015 19:27:22 +0000 (19:27 +0000)
I cannot find any documentation for this, but these tests no longer run
on the device I have since upgrading to Android L. Presumably it still
works for root, but standard Android programs to not have root access.

Change-Id: I001c8fb5ce22f9ff8d7433f881d0dccbf6ab969d
Reviewed-on: https://go-review.googlesource.com/16056
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
src/net/platform_test.go

index c9415d1038c1ea58add93cb8f311b90fbc592817..76c53138cdd7aace299f399f87e1c82377a04e5f 100644 (file)
@@ -32,7 +32,7 @@ func testableNetwork(network string) bool {
                }
        case "unix", "unixgram":
                switch runtime.GOOS {
-               case "nacl", "plan9", "windows":
+               case "android", "nacl", "plan9", "windows":
                        return false
                }
                // iOS does not support unix, unixgram.