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