summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-09-20 17:56:00 -0700
committerZac Medico <zmedico@gentoo.org>2019-09-20 18:22:42 -0700
commit3c6c343d9babe2d565671c66e6d2bad6680f6f4b (patch)
tree0c53753dca65c3767fc53db05bd50d7510c28a38 /dev-db/etcd
parentnet-fs/cifs-utils-6.9-r1: alpha stable, bug 693852 (diff)
downloadgentoo-3c6c343d9babe2d565671c66e6d2bad6680f6f4b.tar.gz
gentoo-3c6c343d9babe2d565671c66e6d2bad6680f6f4b.tar.bz2
gentoo-3c6c343d9babe2d565671c66e6d2bad6680f6f4b.zip
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@gentoo.org>
Diffstat (limited to 'dev-db/etcd')
-rw-r--r--dev-db/etcd/etcd-3.4.1.ebuild5
1 files changed, 5 insertions, 0 deletions
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
}