summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-16 00:41:00 +0100
committerSam James <sam@gentoo.org>2021-10-16 00:48:55 +0100
commitfb524ff7da61e6ca7c1a5c9d58a5c07964a16996 (patch)
treea1ff82bb5994515584b947c071b73fbecd8e5432 /app-emulation/libvirt
parentdev-ml/ppx_optcomp: Stabilize 0.14.3 arm64, #816096 (diff)
downloadgentoo-fb524ff7da61e6ca7c1a5c9d58a5c07964a16996.tar.gz
gentoo-fb524ff7da61e6ca7c1a5c9d58a5c07964a16996.tar.bz2
gentoo-fb524ff7da61e6ca7c1a5c9d58a5c07964a16996.zip
app-emulation/libvirt: skip test 'commandtest' which expects pristine environment
Fails because sandbox exports some variables and the test expects only those it sets to be present. Closes: https://bugs.gentoo.org/802876 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation/libvirt')
-rw-r--r--app-emulation/libvirt/libvirt-7.7.0.ebuild5
-rw-r--r--app-emulation/libvirt/libvirt-7.8.0.ebuild5
-rw-r--r--app-emulation/libvirt/libvirt-9999.ebuild5
3 files changed, 15 insertions, 0 deletions
diff --git a/app-emulation/libvirt/libvirt-7.7.0.ebuild b/app-emulation/libvirt/libvirt-7.7.0.ebuild
index 34cffee86294..072203bbe652 100644
--- a/app-emulation/libvirt/libvirt-7.7.0.ebuild
+++ b/app-emulation/libvirt/libvirt-7.7.0.ebuild
@@ -217,6 +217,11 @@ src_prepare() {
default
python_fix_shebang .
+ # Skip fragile tests which relies on pristine environment
+ # (Breaks because of sandbox environment variables)
+ # bug #802876
+ sed -i -e "/commandtest/d" tests/meson.build || die
+
# Tweak the init script:
cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
diff --git a/app-emulation/libvirt/libvirt-7.8.0.ebuild b/app-emulation/libvirt/libvirt-7.8.0.ebuild
index 34cffee86294..072203bbe652 100644
--- a/app-emulation/libvirt/libvirt-7.8.0.ebuild
+++ b/app-emulation/libvirt/libvirt-7.8.0.ebuild
@@ -217,6 +217,11 @@ src_prepare() {
default
python_fix_shebang .
+ # Skip fragile tests which relies on pristine environment
+ # (Breaks because of sandbox environment variables)
+ # bug #802876
+ sed -i -e "/commandtest/d" tests/meson.build || die
+
# Tweak the init script:
cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
diff --git a/app-emulation/libvirt/libvirt-9999.ebuild b/app-emulation/libvirt/libvirt-9999.ebuild
index 34cffee86294..072203bbe652 100644
--- a/app-emulation/libvirt/libvirt-9999.ebuild
+++ b/app-emulation/libvirt/libvirt-9999.ebuild
@@ -217,6 +217,11 @@ src_prepare() {
default
python_fix_shebang .
+ # Skip fragile tests which relies on pristine environment
+ # (Breaks because of sandbox environment variables)
+ # bug #802876
+ sed -i -e "/commandtest/d" tests/meson.build || die
+
# Tweak the init script:
cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \