From cc02ef6bfb9ac2be37076939a7f120c2bfb373ba Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 3 Feb 2021 21:14:08 +0100 Subject: sys-fs/unionfs-fuse: Skip tests when missing /dev/fuse Closes: https://bugs.gentoo.org/729094 Signed-off-by: Sebastian Pipping Package-Manager: Portage-3.0.14, Repoman-3.0.2 --- sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild | 3 ++- sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sys-fs/unionfs-fuse') diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild index b9d37ded3403..329020ca1173 100644 --- a/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild +++ b/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -41,6 +41,7 @@ src_install() { } src_test() { + [[ -e /dev/fuse ]] || return 0 addwrite /dev/fuse pytest -vv || die "Tests fail with ${EPYTHON}" } diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild index 61aad0ff62cf..c5479601a118 100644 --- a/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild +++ b/sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -41,6 +41,7 @@ src_install() { } src_test() { + [[ -e /dev/fuse ]] || return 0 addwrite /dev/fuse pytest -vv || die "Tests fail with ${EPYTHON}" } -- cgit v1.2.3-65-gdbad