commit:     e2918c476eb71ffe639f280837b32e301a0b3e1f
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Tue Aug 24 08:53:44 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 02:53:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2918c47

dev-util/bats: silence "command -v" output

We just want to know whether it is there but do not care about the
output in our logs.

Fixes: ff3c1baa23b2 ("dev-util/bats: respect "makeopts_jobs" in test suite")
Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/22087
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/bats/bats-1.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/bats/bats-1.4.1.ebuild b/dev-util/bats/bats-1.4.1.ebuild
index 9f246e29edd..86390c1dbd6 100644
--- a/dev-util/bats/bats-1.4.1.ebuild
+++ b/dev-util/bats/bats-1.4.1.ebuild
@@ -27,7 +27,7 @@ src_prepare() {
 
 src_test() {
        local my_jobs=$(makeopts_jobs)
-       if ! command -v parallel; then
+       if ! command -v parallel >/dev/null; then
                my_jobs=1
        fi
        bin/bats --tap --jobs "${my_jobs}" test || die "Tests failed"

Reply via email to