commit:     e8b04c69bf376dd46dcd9d7f2257ebeff5b6166c
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  7 23:59:08 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Thu Jun  7 23:59:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8b04c69

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 00c3cbeb2eb..322612b04ca 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
 }
 

Reply via email to