From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56D8D13835A for ; Sat, 15 May 2021 18:03:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F190E08C8; Sat, 15 May 2021 18:03:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67C0AE08C8 for ; Sat, 15 May 2021 18:03:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 774C7340E5E for ; Sat, 15 May 2021 18:03:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16C3B63D for ; Sat, 15 May 2021 18:03:05 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1621101775.d2e3116a86f6e1b99d5ec421b3717ed37a95cc7b.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/croc/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/croc/files/croc-disable-network-tests.patch X-VCS-Directories: net-misc/croc/files/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: d2e3116a86f6e1b99d5ec421b3717ed37a95cc7b X-VCS-Branch: master Date: Sat, 15 May 2021 18:03:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c4e994fc-fe0f-4d47-a88f-6d701551e3ae X-Archives-Hash: 4b2b5e8eaacb61fe1915b9fda2f2bcd5 commit: d2e3116a86f6e1b99d5ec421b3717ed37a95cc7b Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat May 15 15:44:25 2021 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Sat May 15 18:02:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e3116a net-misc/croc: remove unused patch Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/20822 Signed-off-by: Stephan Hartmann gentoo.org> .../croc/files/croc-disable-network-tests.patch | 33 ---------------------- 1 file changed, 33 deletions(-) diff --git a/net-misc/croc/files/croc-disable-network-tests.patch b/net-misc/croc/files/croc-disable-network-tests.patch deleted file mode 100644 index 92a3a620b96..00000000000 --- a/net-misc/croc/files/croc-disable-network-tests.patch +++ /dev/null @@ -1,33 +0,0 @@ -Disable tests that fail with network-sandbox - -index 101162e..5be096e 100644 ---- a/src/utils/utils_test.go -+++ b/src/utils/utils_test.go -@@ -7,7 +7,6 @@ import ( - "log" - "math/rand" - "os" -- "strings" - "testing" - - "github.com/stretchr/testify/assert" -@@ -169,19 +168,6 @@ func TestHashFile(t *testing.T) { - assert.Equal(t, "18c9673a4bb8325d323e7f24fda9ae1e", fmt.Sprintf("%x", hashed)) - } - --func TestPublicIP(t *testing.T) { -- ip, err := PublicIP() -- fmt.Println(ip) -- assert.True(t, strings.Contains(ip, ".") || strings.Contains(ip, ":")) -- assert.Nil(t, err) --} -- --func TestLocalIP(t *testing.T) { -- ip := LocalIP() -- fmt.Println(ip) -- assert.True(t, strings.Contains(ip, ".") || strings.Contains(ip, ":")) --} -- - func TestGetRandomName(t *testing.T) { - name := GetRandomName() - assert.NotEmpty(t, name)