From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 550501382C5 for ; Wed, 3 Feb 2021 20:17:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88E77E085B; Wed, 3 Feb 2021 20:17:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73699E085B for ; Wed, 3 Feb 2021 20:17:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79B6C341C8F for ; Wed, 3 Feb 2021 20:17:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D833B48B for ; Wed, 3 Feb 2021 20:17:28 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1612383431.cc02ef6bfb9ac2be37076939a7f120c2bfb373ba.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/unionfs-fuse/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild sys-fs/unionfs-fuse/unionfs-fuse-9999.ebuild X-VCS-Directories: sys-fs/unionfs-fuse/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: cc02ef6bfb9ac2be37076939a7f120c2bfb373ba X-VCS-Branch: master Date: Wed, 3 Feb 2021 20:17:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1f52055f-5032-4250-8886-08f50dc3f748 X-Archives-Hash: 1b421218dc043226522c9c8d87ef7910 commit: cc02ef6bfb9ac2be37076939a7f120c2bfb373ba Author: Sebastian Pipping gentoo org> AuthorDate: Wed Feb 3 20:14:08 2021 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Wed Feb 3 20:17:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc02ef6b sys-fs/unionfs-fuse: Skip tests when missing /dev/fuse Closes: https://bugs.gentoo.org/729094 Signed-off-by: Sebastian Pipping gentoo.org> 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(-) diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-2.1.ebuild index b9d37ded340..329020ca117 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 61aad0ff62c..c5479601a11 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}" }