From e8b04c69bf376dd46dcd9d7f2257ebeff5b6166c Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Thu, 7 Jun 2018 19:59:08 -0400 Subject: [PATCH] app-arch/rpm: warn about tests not running under sandbox Closes: https://bugs.gentoo.org/657500 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- app-arch/rpm/rpm-4.14.1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app-arch/rpm/rpm-4.14.1.ebuild b/app-arch/rpm/rpm-4.14.1.ebuild index 00c3cbeb2eb4e..322612b04ca4c 100644 --- a/app-arch/rpm/rpm-4.14.1.ebuild +++ b/app-arch/rpm/rpm-4.14.1.ebuild @@ -108,6 +108,12 @@ src_install() { } src_test() { + # Known to fail with FEATURES=usersandbox (bug #657500): + if has usersandbox $FEATURES ; then + ewarn "You are emerging ${P} with 'usersandbox' enabled." \ + "Expect some test failures or emerge with 'FEATURES=-usersandbox'!" + fi + emake check }