From nobody Thu Feb 09 16:52:23 2023 X-Original-To: dev-commits-src-branches@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 4PCNFg5zzGz3pqTQ; Thu, 9 Feb 2023 16:52:23 +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 4PCNFg5XWFz4Q5t; Thu, 9 Feb 2023 16:52:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675961543; 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=OY/Q0id+JND2kGjLSSuNt1fBs++IML+8Zx3lVKxTp/o=; b=S+F3quxsjl/qrjd8ESOex69qPaHqeMBjSbnoo/hl5Wzre4KsZcIx8tEXrg+HZwc6eXZjyC uXcrXnUYZcC9LbYgnupbJ7lEqd46Bfy6wquw6GP9dJ+4y9jwXAr1JF6K+xGpC5RGDVIjfJ 67Di61yFr0H0oZ2DHrLsTkgt1+H1oQl1a7cD5ZjBVclde3kiBF+7WQpgHWYOS5kRF72sQv 8m3knQId8G+5jjRT9Gd9br4gP2oCzqWa7XHSiZ1G86h1eZtFjdFgGS1yu/iKLU+Y2t3rS+ Wwb6M9jpLXgLxGfNXILhlaavZUB7FJ0xgwwGy61dqXzVIwdMa7fRF2KtYX4pkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675961543; 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=OY/Q0id+JND2kGjLSSuNt1fBs++IML+8Zx3lVKxTp/o=; b=cFz9DXBlktcGTS+/eAH8WB2vmxfT8yEkqJQDtiesuAKApS+UPycr+XUSSw2sRw3n/dzOf2 xojfl6x8yD0A45bUrJKG1Mf2mvLeYzklfjlp1dKl5I0rRyz6QnE0OLyWiMzYBpNLdpb3ei P3yHYmtgIWDVhMX38AwJTB3CqMQc4U+uIj8zFB4U1kgrsh1DN8vP+UHoI83ENiYnsHRkFv 1Xl4vst6UsfHPlqrYo16kfuiN0d9ettgXodZweB+d4iW9tz/j0G7f1I4jnZHx8WKUMWADn yGHCkVFOdLk8+bMH9KQzfLr9VKVvehxmvfg/0XruHMyajPrBSObJaPfMKZYWsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675961543; a=rsa-sha256; cv=none; b=s4m3JY7NQYy782nWFo+yW2s/ZIOuZqhGpxbT6Y08wslP50S5vh7eFeNW3yzun2whgicnV9 FzXL83TVMxP7fx89jF/aDK08Bjtw0YzBdGPATfTa2WGYOGGoFPL1+7DXF0EOVKra2qZBlo jEkaOjw0YoHbGYF5SbjN0ewnbZI099c6FyuKX+TND/iFdpmYjejnPiiSzhBzVpgffCCx56 sAnw4q2ncsMLxPmFcSneWJlBwYSLAIWL0cshiMGUsIhaHeQwiE7zun6bvz9paD00+5kiuj EL5ANcCfjdRUOArhbIJZ9BAol5skmfE61bdoMROHJxFDe9b0hSpKX/w5w2+KQA== 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 4PCNFg4b9vzkn7; Thu, 9 Feb 2023 16:52:23 +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 319GqNHg066295; Thu, 9 Feb 2023 16:52:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 319GqNCl066294; Thu, 9 Feb 2023 16:52:23 GMT (envelope-from git) Date: Thu, 9 Feb 2023 16:52:23 GMT Message-Id: <202302091652.319GqNCl066294@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Stefan=20E=C3=9Fer?= Subject: git: 43a04e3a0a74 - stable/13 - md5/tests: extend md5 test List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 43a04e3a0a74c609667eae382209d4ebbbcb785f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=43a04e3a0a74c609667eae382209d4ebbbcb785f commit 43a04e3a0a74c609667eae382209d4ebbbcb785f Author: Stefan Eßer AuthorDate: 2023-02-06 20:11:51 +0000 Commit: Stefan Eßer CommitDate: 2023-02-09 16:52:17 +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 (cherry picked from commit d804497068c16bcb05383d7227d899f4ba59f706) --- 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 }