Blame 0001-skip-arch-dependent-test-on-s390x.patch

42f9592
From d10d9b14adc693232a71085d1ba5954cd818fe72 Mon Sep 17 00:00:00 2001
42f9592
From: Paul Gier <pgier@redhat.com>
42f9592
Date: Tue, 15 May 2018 15:01:29 -0500
42f9592
Subject: [PATCH] skip arch dependent test on s390x
42f9592
42f9592
---
42f9592
 family_linux_test.go | 4 ++++
42f9592
 1 file changed, 4 insertions(+)
42f9592
42f9592
diff --git a/family_linux_test.go b/family_linux_test.go
42f9592
index 71a392c..d6e38c5 100644
42f9592
--- a/family_linux_test.go
42f9592
+++ b/family_linux_test.go
42f9592
@@ -3,6 +3,7 @@
42f9592
 package genetlink_test
42f9592
 
42f9592
 import (
42f9592
+	"runtime"
42f9592
 	"testing"
42f9592
 
42f9592
 	"github.com/google/go-cmp/cmp"
42f9592
@@ -172,6 +173,9 @@ func TestConnFamilyList(t *testing.T) {
42f9592
 }
42f9592
 
42f9592
 func TestFamily_parseAttributes(t *testing.T) {
42f9592
+	if runtime.GOARCH == "s390x" {
42f9592
+		t.Skip("genetlink family not supported on s390x")
42f9592
+	}
42f9592
 	tests := []struct {
42f9592
 		name  string
42f9592
 		attrs []netlink.Attribute
42f9592
-- 
42f9592
2.14.3
42f9592