]> Cypherpunks repositories - gostls13.git/commitdiff
net: skip TestSendfileParts on dragonfly and solaris
authorTobias Klauser <tklauser@distanz.ch>
Mon, 11 Jun 2018 07:40:45 +0000 (09:40 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 11 Jun 2018 08:16:18 +0000 (08:16 +0000)
Skip it like on freebsd until there is proper a fix for #25809

Updates #25809

Change-Id: Id53c433aee75f2a992ab6a8d58d98fd1f8a6c1c6
Reviewed-on: https://go-review.googlesource.com/117698
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/net/sendfile_test.go

index 3418d7f243af6af9d586b7755be628c58a2cf370..acf1cd99553787d903bf2763541b90791f9b847a 100644 (file)
@@ -94,7 +94,8 @@ func TestSendfile(t *testing.T) {
 }
 
 func TestSendfileParts(t *testing.T) {
-       if runtime.GOOS == "freebsd" {
+       switch runtime.GOOS {
+       case "dragonfly", "freebsd", "solaris":
                t.Skipf("skipping on %s (see golang.org/issue/25809 for details)", runtime.GOOS)
        }