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 3EC401392E8 for ; Sat, 24 Jul 2021 16:30:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F8DEE0C01; Sat, 24 Jul 2021 16:30:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 52696E0C01 for ; Sat, 24 Jul 2021 16:30:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 0EA41342BF4 for ; Sat, 24 Jul 2021 16:30:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2F9178A for ; Sat, 24 Jul 2021 16:30:43 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1627144204.11a8f0371e473e4492f4245ad45dfb81950029cc.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/iputils/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/iputils/iputils-20210722.ebuild net-misc/iputils/iputils-99999999.ebuild X-VCS-Directories: net-misc/iputils/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 11a8f0371e473e4492f4245ad45dfb81950029cc X-VCS-Branch: master Date: Sat, 24 Jul 2021 16:30:43 +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: 7e55ffb4-ad0a-4d94-801e-be3b420b9b51 X-Archives-Hash: 7ebf2df49d41db3969e89bec9f979328 commit: 11a8f0371e473e4492f4245ad45dfb81950029cc Author: Mike Gilbert gentoo org> AuthorDate: Sat Jul 24 16:30:04 2021 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sat Jul 24 16:30:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a8f037 net-misc/iputils: fix root check in src_test Bug: https://bugs.gentoo.org/803851 Signed-off-by: Mike Gilbert gentoo.org> net-misc/iputils/iputils-20210722.ebuild | 2 +- net-misc/iputils/iputils-99999999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/iputils/iputils-20210722.ebuild b/net-misc/iputils/iputils-20210722.ebuild index dde2cee578c..0e3d015bdb9 100644 --- a/net-misc/iputils/iputils-20210722.ebuild +++ b/net-misc/iputils/iputils-20210722.ebuild @@ -111,7 +111,7 @@ src_compile() { } src_test() { - if has userpriv ${FEATURES} || ${EUID} -ne 0 ; then + if [[ ${EUID} != 0 ]]; then einfo "Tests require root privileges; Skipping ..." return fi diff --git a/net-misc/iputils/iputils-99999999.ebuild b/net-misc/iputils/iputils-99999999.ebuild index dde2cee578c..0e3d015bdb9 100644 --- a/net-misc/iputils/iputils-99999999.ebuild +++ b/net-misc/iputils/iputils-99999999.ebuild @@ -111,7 +111,7 @@ src_compile() { } src_test() { - if has userpriv ${FEATURES} || ${EUID} -ne 0 ; then + if [[ ${EUID} != 0 ]]; then einfo "Tests require root privileges; Skipping ..." return fi