app-admin/kube-bench: fix tests

Closes: https://bugs.gentoo.org/892894
Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs
2023-02-05 15:56:06 -06:00
parent d318ba89fd
commit c2bd024be8
+6 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,6 +13,11 @@ LICENSE="Apache-2.0 MIT MPL-2.0 BSD BSD-2"
SLOT="0"
KEYWORDS="~amd64"
src_prepare() {
default
sed -i -e 's/-short -race/-short/' makefile || die
}
src_compile() {
emake KUBEBENCH_VERSION=v${PV} build
}