1 |
commit: d2e3116a86f6e1b99d5ec421b3717ed37a95cc7b |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Sat May 15 15:44:25 2021 +0000 |
4 |
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 15 18:02:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e3116a |
7 |
|
8 |
net-misc/croc: remove unused patch |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/20822 |
13 |
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org> |
14 |
|
15 |
.../croc/files/croc-disable-network-tests.patch | 33 ---------------------- |
16 |
1 file changed, 33 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/croc/files/croc-disable-network-tests.patch b/net-misc/croc/files/croc-disable-network-tests.patch |
19 |
deleted file mode 100644 |
20 |
index 92a3a620b96..00000000000 |
21 |
--- a/net-misc/croc/files/croc-disable-network-tests.patch |
22 |
+++ /dev/null |
23 |
@@ -1,33 +0,0 @@ |
24 |
-Disable tests that fail with network-sandbox |
25 |
- |
26 |
-index 101162e..5be096e 100644 |
27 |
---- a/src/utils/utils_test.go |
28 |
-+++ b/src/utils/utils_test.go |
29 |
-@@ -7,7 +7,6 @@ import ( |
30 |
- "log" |
31 |
- "math/rand" |
32 |
- "os" |
33 |
-- "strings" |
34 |
- "testing" |
35 |
- |
36 |
- "github.com/stretchr/testify/assert" |
37 |
-@@ -169,19 +168,6 @@ func TestHashFile(t *testing.T) { |
38 |
- assert.Equal(t, "18c9673a4bb8325d323e7f24fda9ae1e", fmt.Sprintf("%x", hashed)) |
39 |
- } |
40 |
- |
41 |
--func TestPublicIP(t *testing.T) { |
42 |
-- ip, err := PublicIP() |
43 |
-- fmt.Println(ip) |
44 |
-- assert.True(t, strings.Contains(ip, ".") || strings.Contains(ip, ":")) |
45 |
-- assert.Nil(t, err) |
46 |
--} |
47 |
-- |
48 |
--func TestLocalIP(t *testing.T) { |
49 |
-- ip := LocalIP() |
50 |
-- fmt.Println(ip) |
51 |
-- assert.True(t, strings.Contains(ip, ".") || strings.Contains(ip, ":")) |
52 |
--} |
53 |
-- |
54 |
- func TestGetRandomName(t *testing.T) { |
55 |
- name := GetRandomName() |
56 |
- assert.NotEmpty(t, name) |