diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
commit | 908778078736bd36f7a60a2d576d415cb8e000fa (patch) | |
tree | c6a4796c48b608c14dc7e9674cdbd38f905e3c15 /net-misc/croc/files | |
parent | 185fa19bbf68a4d4dca534d2b46729207a177f16 (diff) |
gentoo resync : 22.05.2021
Diffstat (limited to 'net-misc/croc/files')
-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) |