From 3c6c343d9babe2d565671c66e6d2bad6680f6f4b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 20 Sep 2019 17:56:00 -0700 Subject: [PATCH] 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 --- 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 3dd3f34684ea..051c32bb9b5a 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 } -- 2.26.2