diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-05-15 17:44:25 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-05-15 20:02:55 +0200 |
commit | d2e3116a86f6e1b99d5ec421b3717ed37a95cc7b (patch) | |
tree | f85377d44576813304732d28253347800b072fa5 /net-misc | |
parent | dev-python/mysql-connector-python: Stabilize 8.0.25 arm, #789252 (diff) | |
download | gentoo-d2e3116a86f6e1b99d5ec421b3717ed37a95cc7b.tar.gz gentoo-d2e3116a86f6e1b99d5ec421b3717ed37a95cc7b.tar.bz2 gentoo-d2e3116a86f6e1b99d5ec421b3717ed37a95cc7b.zip |
net-misc/croc: remove unused patch
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/20822
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/croc/files/croc-disable-network-tests.patch | 33 |
1 files changed, 0 insertions, 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 92a3a620b96e..000000000000 --- 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) |