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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DAE5F159C9B for ; Sun, 11 Aug 2024 10:11:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 414BA2BC088; Sun, 11 Aug 2024 10:11:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 243872BC088 for ; Sun, 11 Aug 2024 10:11:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3D0B434311C for ; Sun, 11 Aug 2024 10:11:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5176B1EE7 for ; Sun, 11 Aug 2024 10:11:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1723371059.414feeebda73ef58c07a411596569372bbcc19c8.sam@gentoo> Subject: [gentoo-commits] proj/gentoo-functions:master commit in: / X-VCS-Repository: proj/gentoo-functions X-VCS-Files: test-functions X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 414feeebda73ef58c07a411596569372bbcc19c8 X-VCS-Branch: master Date: Sun, 11 Aug 2024 10:11:10 +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: e52f1485-f6c8-465c-883f-61045986a5ff X-Archives-Hash: a029345f3447613b46c931557372ef04 commit: 414feeebda73ef58c07a411596569372bbcc19c8 Author: Kerin Millar plushkava net> AuthorDate: Thu Aug 8 08:54:43 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Aug 11 10:10:59 2024 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=414feeeb test-functions: silence several shellcheck false-positives Signed-off-by: Kerin Millar plushkava.net> Signed-off-by: Sam James gentoo.org> test-functions | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-functions b/test-functions index 00a128a..275d32f 100755 --- a/test-functions +++ b/test-functions @@ -1,5 +1,5 @@ #!/bin/sh -# shellcheck disable=1007,2015,2164,2317,3043 +# shellcheck disable=1007,2015,2031,2164,2317,3043 # Requires mktemp(1), which is not a standard utility, but is commonly # available. The implementations provided by GNU coreutils, busybox and toybox @@ -265,6 +265,7 @@ test_esyslog() { should_log=$2 shift 2 test_description="esyslog $(quote_args "$@")" + # shellcheck disable=2034 logged=$(EINFO_LOG=1; esyslog "$@") case $? in 0) @@ -694,6 +695,7 @@ test_whenceforth() { case ${printf_cmd} in /*) printf() { "${printf_cmd}" "$@"; } esac + # shellcheck disable=2030 PATH=${path} whenceforth "$@" >/dev/null )