1 |
commit: 3c6c343d9babe2d565671c66e6d2bad6680f6f4b |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 21 00:56:00 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 21 01:22:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c6c343d |
7 |
|
8 |
dev-db/etcd: Disable some 3.4.1 tests for network-sandbox |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
dev-db/etcd/etcd-3.4.1.ebuild | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/etcd/etcd-3.4.1.ebuild b/dev-db/etcd/etcd-3.4.1.ebuild |
17 |
index 3dd3f34684e..051c32bb9b5 100644 |
18 |
--- a/dev-db/etcd/etcd-3.4.1.ebuild |
19 |
+++ b/dev-db/etcd/etcd-3.4.1.ebuild |
20 |
@@ -25,11 +25,16 @@ src_prepare() { |
21 |
sed -e 's:\(for p in \)shellcheck :\1 :' \ |
22 |
-e 's:^ gofmt \\$:\\:' \ |
23 |
-e 's:^ govet \\$:\\:' \ |
24 |
+ -e 's:^ govet_shadow \\$:\\:' \ |
25 |
-i "${S}"/src/${EGO_PN}/test || die |
26 |
# missing ... in args forwarded to print-like function |
27 |
sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \ |
28 |
-i "${S}"/src/${EGO_PN}/raft/logger.go || die |
29 |
|
30 |
+ sed -e 's:TestGetDefaultInterface(:_\0:' \ |
31 |
+ -e 's:TestGetDefaultHost(:_\0:' \ |
32 |
+ -i "${S}"/src/${EGO_PN}/pkg/netutil/routes_linux_test.go || die |
33 |
+ |
34 |
# Avoid network-sandbox violations since go-1.13 |
35 |
rm src/${EGO_PN}/go.mod || die |
36 |
} |