Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys-apps/rng-tools: increase jitter test wait time #34156

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 8 additions & 1 deletion sys-apps/rng-tools/rng-tools-6.16.ebuild
Expand Up @@ -12,7 +12,9 @@ SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ppc64 ~riscv x86"
IUSE="jitterentropy nistbeacon pkcs11 qrypt rtlsdr selinux"
IUSE="jitterentropy nistbeacon pkcs11 qrypt rtlsdr selinux test"
REQUIRED_USE="test? ( jitterentropy )"
RESTRICT="!test? ( test )"

DEPEND="
dev-libs/openssl:=
Expand All @@ -38,6 +40,7 @@ RDEPEND="
BDEPEND="virtual/pkgconfig"

src_prepare() {
sed -i "s/sleep 30/sleep 120/g" tests/rngtestjitter.sh || die
default

eautoreconf
Expand All @@ -55,6 +58,10 @@ src_configure() {
econf "${myeconfargs[@]}"
}

src_test() {
RNGD_JITTER_TIMEOUT=90 default
}

src_install() {
default

Expand Down