commit:     3dbe14ee3b240671d22bdbd6fe3d86a8090ca2b2
Author:     Hank Leininger <hlein <AT> korelogic <DOT> com>
AuthorDate: Fri Nov 13 16:20:19 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 20:54:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dbe14ee

sys-apps/firejail: Disabled nonworking tests

Skip some tests that were not included in this version of the release
tarball.

Signed-off-by: Hank Leininger <hlein <AT> korelogic.com>
Closes: https://bugs.gentoo.org/753991
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/18245
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 sys-apps/firejail/firejail-0.9.64.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-apps/firejail/firejail-0.9.64.ebuild 
b/sys-apps/firejail/firejail-0.9.64.ebuild
index 43c72214609..11f57e4c9a6 100644
--- a/sys-apps/firejail/firejail-0.9.64.ebuild
+++ b/sys-apps/firejail/firejail-0.9.64.ebuild
@@ -48,6 +48,11 @@ src_prepare() {
        if use contrib; then
                python_fix_shebang -f contrib/*.py
        fi
+
+       # some tests were missing from this release's tarball
+       if use test; then
+               sed -i -r -e 's/^(test:.*) test-private-lib (.*)/\1 \2/; 
s/^(test:.*) test-fnetfilter (.*)/\1 \2/' Makefile.in || die
+       fi
 }
 
 src_configure() {

Reply via email to