From c52dbd1194249fdd7062d7a7d8845f7be1247673 Mon Sep 17 00:00:00 2001 From: Stephan Klatt Date: Wed, 19 Aug 2020 07:57:44 +0200 Subject: [PATCH] SockaddrCAN: remove test for "ifindex too big" does not compile on i386 due to integer size --- unix/syscall_internal_linux_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/unix/syscall_internal_linux_test.go b/unix/syscall_internal_linux_test.go index 3007323e..6b61761c 100644 --- a/unix/syscall_internal_linux_test.go +++ b/unix/syscall_internal_linux_test.go @@ -594,13 +594,6 @@ func TestSockaddrCAN_sockaddr(t *testing.T) { }, err: EINVAL, }, - { - name: "ifindex to big", - sa: &SockaddrCAN{ - Ifindex: 0x80000000, - }, - err: EINVAL, - }, } for _, tt := range tests {