From: Shengjing Zhu <zhsj@debian.org>
Date: Tue, 22 Feb 2022 00:39:13 +0800
Subject: Skip failed tests

on buildd:

RUN   TestSocketDiagTCPInfo
socket_test.go:68: no such file or directory
FAIL: TestSocketDiagTCPInfo (0.00s)

RUN   TestHandleCreateClose
handle_test.go:25: protocol not supported
FAIL: TestHandleCreateClose (0.01s)

RUN   TestHandleTimeout
handle_test.go:120: protocol not supported
FAIL: TestHandleTimeout (0.00s)

RUN   TestHandleReceiveBuffer
handle_test.go:138: protocol not supported
FAIL: TestHandleReceiveBuffer (0.00s)

Forwarded: not-needed
---
 handle_test.go | 2 +-
 socket_test.go | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

--- a/handle_test.go
+++ b/handle_test.go
@@ -1,4 +1,4 @@
-// +build linux
+// +build ignore
 
 package netlink
 
--- a/socket_test.go
+++ b/socket_test.go
@@ -131,6 +131,7 @@
 }
 
 func TestSocketDiagTCPInfo(t *testing.T) {
+	t.Skip("broken on buildd")
 	Family4 := uint8(syscall.AF_INET)
 	Family6 := uint8(syscall.AF_INET6)
 	families := []uint8{Family4, Family6}
@@ -149,6 +150,7 @@
 }
 
 func TestSocketDiagUDPnfo(t *testing.T) {
+	t.Skip("broken on buildd")
 	for _, want := range []uint8{syscall.AF_INET, syscall.AF_INET6} {
 		result, err := SocketDiagUDPInfo(want)
 		if err != nil {
@@ -164,6 +166,7 @@
 }
 
 func TestUnixSocketDiagInfo(t *testing.T) {
+	t.Skip("broken on buildd")
 	want := syscall.AF_UNIX
 	result, err := UnixSocketDiagInfo()
 	if err != nil {
--- a/socket_xdp_linux_test.go
+++ b/socket_xdp_linux_test.go
@@ -11,6 +11,7 @@
 )
 
 func TestSocketXDPGetInfo(t *testing.T) {
+	t.Skip("broken on buildd")
 	xdpsockfd, err := unix.Socket(unix.AF_XDP, unix.SOCK_RAW, 0)
 	if err != nil {
 		t.Fatal(err)
