summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-07 09:58:08 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-07 17:58:51 +0100
commitcf79358b81c5c3b73e5809a869008d65b5f9ea22 (patch)
tree4d4526755e34a4a4428a1ac1873d27a6a8d6b32d /app-shells/bash-completion
parentdev-perl/File-Slurp: arm64 stable (bug #698542) (diff)
downloadgentoo-cf79358b81c5c3b73e5809a869008d65b5f9ea22.tar.gz
gentoo-cf79358b81c5c3b73e5809a869008d65b5f9ea22.tar.bz2
gentoo-cf79358b81c5c3b73e5809a869008d65b5f9ea22.zip
app-shells/bash-completion: Disable tests failing in containers
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-shells/bash-completion')
-rw-r--r--app-shells/bash-completion/bash-completion-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-shells/bash-completion/bash-completion-9999.ebuild b/app-shells/bash-completion/bash-completion-9999.ebuild
index 2a71e61d56c4..4fdb9c19f7fd 100644
--- a/app-shells/bash-completion/bash-completion-9999.ebuild
+++ b/app-shells/bash-completion/bash-completion-9999.ebuild
@@ -92,6 +92,11 @@ src_prepare() {
eapply "${WORKDIR}"/bashcomp2/bash-completion-blacklist-support.patch
fi
+ # our setup is close enough to container to cause the same tests
+ # to fail
+ sed -i -e '/def in_container/a \
+ return True' test/t/conftest.py || die
+
eautoreconf
}