]> Cypherpunks repositories - gostls13.git/commitdiff
net: skip splice unix-to-tcp tests on android
authorTobias Klauser <tklauser@distanz.ch>
Wed, 5 Sep 2018 13:53:30 +0000 (15:53 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 5 Sep 2018 14:24:37 +0000 (14:24 +0000)
The android builders are failing on the AF_UNIX part of the new splice
test from CL 113997. Skip them.

Change-Id: Ia0519aae922acb11d2845aa687633935bcd4b1b0
Reviewed-on: https://go-review.googlesource.com/133515
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/splice_test.go

index 3e7fd8251b018e1f174acc5a12c2895879a32e7d..656c194094a958d6e11329fca3689e9636bf9713 100644 (file)
@@ -19,6 +19,9 @@ import (
 
 func TestSplice(t *testing.T) {
        t.Run("tcp-to-tcp", func(t *testing.T) { testSplice(t, "tcp", "tcp") })
+       if !testableNetwork("unixgram") {
+               t.Skip("skipping unix-to-tcp tests")
+       }
        t.Run("unix-to-tcp", func(t *testing.T) { testSplice(t, "unix", "tcp") })
 }