From nobody Mon Feb 06 20:26:04 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P9d7c4mZ5z3nNtM; Mon, 6 Feb 2023 20:26:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P9d7c4FPZz3wBK; Mon, 6 Feb 2023 20:26:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675715164; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0TAZveIZHbCvevqoKvHpHmdOoEvSGXoapBMZgUhEbYI=; b=DqOyr/LYCRlZAt+qFPHeeQSzzKqeqC6rRxPBPpR0TS+0IkTbnSQdPcj9vJjAagachZVQEO +5Dm+VRQErkpKl8ja8Hqfz1LJkEcMfcS39LulDJSn1V43mbvTac8RXj/S6k9CbrJTxU26B lxDHK5OW96WTSwcrLM3GFnnvV9b6VbCxCCyLlMYlMQf7va+hxLIPY9FB94bCn8ewEx9+L0 6Vr6uWclvOCR0bzA3mzvau8mYXqbKVgFrssbsf3p+pWKaw4N7j6iQ2eFutBrTeD4wnJfGS 5OcUsIVunuSzgNq7hLoDTK7YIGERyaF8ak3hw5J/ua/OyXK5jM55XjDlr2cEDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675715164; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0TAZveIZHbCvevqoKvHpHmdOoEvSGXoapBMZgUhEbYI=; b=hKjpIR90+T++PcAHI78JXElx2NllGn4rr2KmGweEzl9m2xYCgem9xFVO1zMcgkeGQtES9z 11n3dITMo9BDRonGiNSxIg8zGpcU3v+QYsZuFywoUVdWH7hst+CojlHPW3I14bg+n6Toyo ETWHMFXQs64dnj8UR1xs13F1iGodF6GxNA1UtBmqTqlq5NyV2jBBMDdeZmoo+CXKkNug33 /Whszkz0EeS5/LBcpAoNAiFBwzaGovQcegwI01mpD21JpD4VARowk1UE0/S9HAJKgGTGl3 rU9h7idVXxxV3LefaLcKzyUumfWvgGvzIViMPxx7nH1qz9xYVJKjClx89gCZew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675715164; a=rsa-sha256; cv=none; b=Mp+rRzvLgMqtV40qN1DtOxhYLfpfM49SnAJGJSvLq8fm0+/W9NetcXZwjgnkgfVvGvqx/4 CRkTavqfKawBoZ9RAYnnoZGPWhVOQfC6idfx0oC8KbpjFNHJ7mTYrVLeRTJt59xmeQLg70 QqrLHqgWHNhRnr/pP01CSDA2+F71tWq7SYVIzKyB9qQu2GJ1dKzteFnHS/BgficI6lZa3m /yDAxtbNr4wfYE+JG3GTehGJIlpF347rMSrsIqfAnYMPbBWN+qhNqAdrgnBiN2cH0QLavd lzK8wBo/wN5T3WtrVjt+woAC6iU19OO3fCnGg7LbSLK0b3RF7vHMEmnDFCNynw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P9d7c3JXYzp6G; Mon, 6 Feb 2023 20:26:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 316KQ4Wt091932; Mon, 6 Feb 2023 20:26:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 316KQ4C5091931; Mon, 6 Feb 2023 20:26:04 GMT (envelope-from git) Date: Mon, 6 Feb 2023 20:26:04 GMT Message-Id: <202302062026.316KQ4C5091931@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: d804497068c1 - main - md5/tests: extend md5 test List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d804497068c16bcb05383d7227d899f4ba59f706 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=d804497068c16bcb05383d7227d899f4ba59f706 commit d804497068c16bcb05383d7227d899f4ba59f706 Author: Stefan Eßer AuthorDate: 2023-02-06 20:11:51 +0000 Commit: Stefan Eßer CommitDate: 2023-02-06 20:25:44 +0000 md5/tests: extend md5 test The testloop function is called with various parameters, but those were ignored in the coreutils-c-test script. This was an oversight and is fixed by passing the option to all invocations of the hash functions in this test script. Reported by: des MFC after: 3 days --- sbin/md5/tests/coreutils-c-test.SH | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/md5/tests/coreutils-c-test.SH b/sbin/md5/tests/coreutils-c-test.SH index 5996e533c627..95018abd1f27 100644 --- a/sbin/md5/tests/coreutils-c-test.SH +++ b/sbin/md5/tests/coreutils-c-test.SH @@ -8,8 +8,8 @@ testloop () { opt=$1 while read algorithm; do - ${algorithm}sum -c %%TESTSBASE%%/sbin/md5/${algorithm}.digest || exitcode=1 - ${algorithm}sum -c %%TESTSBASE%%/sbin/md5/${algorithm}sum.digest || exitcode=1 + ${algorithm}sum $opt -c %%TESTSBASE%%/sbin/md5/${algorithm}.digest || exitcode=1 + ${algorithm}sum $opt -c %%TESTSBASE%%/sbin/md5/${algorithm}sum.digest || exitcode=1 done < %%TESTSBASE%%/sbin/md5/algorithms.txt }