NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/54726: cksum(1) doesn't inform you of passed checks
The following reply was made to PR bin/54726; it has been noted by GNATS.
From: Edgar Pettijohn <edgar%pettijohn-web.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/54726: cksum(1) doesn't inform you of passed checks
Date: Sun, 1 Dec 2019 19:09:48 -0600
On 2019-12-01 19:00, Robert Elz wrote:
> The following reply was made to PR bin/54726; it has been noted by GNATS.
>
> From: Robert Elz <kre%munnari.OZ.AU@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: bin/54726: cksum(1) doesn't inform you of passed checks
> Date: Mon, 02 Dec 2019 07:58:03 +0700
>
> Date: Sun, 1 Dec 2019 15:25:01 +0000 (UTC)
> From: Edgar Pettijohn <edgar%pettijohn-web.com@localhost>
> Message-ID: <20191201152501.8B4EB7A1AD%mollari.NetBSD.org@localhost>
>
> | Then why does it give you human readable text for failed files? Seems
> | like it should either do both or neither. If neither add a -v flag to
> | get both.
>
> It is the philosophy, when all is OK, shut up, when something is wrong,
> say what. Other tools, like diff, cmp, cc, ... work just the same way.
>
> When everything as it should be, you aren't bothered by meaningless noise.
> When something is not, you get told - which then stands out - it is obvious
> that the message is something to look at.
>
> kre
>
Consider this usecase.
localhost$ cat SHA256 | /usr/bin/cksum -c
(SHA256) libressl-1.0.0.tar.gz: FAILED
(SHA256) libressl-2.0.0.tar.gz: FAILED
(SHA256) libressl-2.0.1.tar.gz: FAILED
(SHA256) libressl-2.0.2.tar.gz: FAILED
(SHA256) libressl-2.0.3.tar.gz: FAILED
(SHA256) libressl-2.0.4.tar.gz: FAILED
(SHA256) libressl-2.0.5.tar.gz: FAILED
(SHA256) libressl-2.0.6.tar.gz: FAILED
(SHA256) libressl-2.1.0.tar.gz: FAILED
(SHA256) libressl-2.1.1.tar.gz: FAILED
(SHA256) libressl-2.1.10-relnotes.txt: FAILED
(SHA256) libressl-2.1.10.tar.gz: FAILED
(SHA256) libressl-2.1.2.tar.gz: FAILED
(SHA256) libressl-2.1.3.tar.gz: FAILED
(SHA256) libressl-2.1.4-relnotes.txt: FAILED
(SHA256) libressl-2.1.4-windows.zip: FAILED
(SHA256) libressl-2.1.4.tar.gz: FAILED
(SHA256) libressl-2.1.5-relnotes.txt: FAILED
(SHA256) libressl-2.1.5-windows.zip: FAILED
(SHA256) libressl-2.1.5.tar.gz: FAILED
(SHA256) libressl-2.1.6-relnotes.txt: FAILED
(SHA256) libressl-2.1.6-windows.zip: FAILED
(SHA256) libressl-2.1.6.tar.gz: FAILED
(SHA256) libressl-2.1.7.tar.gz: FAILED
(SHA256) libressl-2.1.8.tar.gz: FAILED
(SHA256) libressl-2.1.9.tar.gz: FAILED
(SHA256) libressl-2.2.0-relnotes.txt: FAILED
(SHA256) libressl-2.2.0.tar.gz: FAILED
(SHA256) libressl-2.2.1-relnotes.txt: FAILED
(SHA256) libressl-2.2.1-windows.zip: FAILED
(SHA256) libressl-2.2.1.tar.gz: FAILED
(SHA256) libressl-2.2.2-relnotes.txt: FAILED
(SHA256) libressl-2.2.2-windows.zip: FAILED
(SHA256) libressl-2.2.2.tar.gz: FAILED
(SHA256) libressl-2.2.3-relnotes.txt: FAILED
(SHA256) libressl-2.2.3-windows.zip: FAILED
(SHA256) libressl-2.2.3.tar.gz: FAILED
(SHA256) libressl-2.2.4-windows.zip: FAILED
(SHA256) libressl-2.2.4.tar.gz: FAILED
(SHA256) libressl-2.2.5-relnotes.txt: FAILED
(SHA256) libressl-2.2.5-windows.zip: FAILED
(SHA256) libressl-2.2.5.tar.gz: FAILED
(SHA256) libressl-2.2.6-relnotes.txt: FAILED
(SHA256) libressl-2.2.6.tar.gz: FAILED
(SHA256) libressl-2.2.7-relnotes.txt: FAILED
(SHA256) libressl-2.2.7-windows.zip: FAILED
(SHA256) libressl-2.2.7.tar.gz: FAILED
(SHA256) libressl-2.2.8-windows.zip: FAILED
(SHA256) libressl-2.2.8.tar.gz: FAILED
(SHA256) libressl-2.2.9-windows.zip: FAILED
(SHA256) libressl-2.2.9.tar.gz: FAILED
(SHA256) libressl-2.3.0-relnotes.txt: FAILED
(SHA256) libressl-2.3.0-windows.zip: FAILED
(SHA256) libressl-2.3.0.tar.gz: FAILED
(SHA256) libressl-2.3.1-relnotes.txt: FAILED
(SHA256) libressl-2.3.1-windows.zip: FAILED
(SHA256) libressl-2.3.1.tar.gz: FAILED
(SHA256) libressl-2.3.10-relnotes.txt: FAILED
(SHA256) libressl-2.3.10-windows.zip: FAILED
(SHA256) libressl-2.3.10.tar.gz: FAILED
(SHA256) libressl-2.3.2-relnotes.txt: FAILED
(SHA256) libressl-2.3.2-windows.zip: FAILED
(SHA256) libressl-2.3.2.tar.gz: FAILED
(SHA256) libressl-2.3.3-relnotes.txt: FAILED
(SHA256) libressl-2.3.3-windows.zip: FAILED
(SHA256) libressl-2.3.3.tar.gz: FAILED
(SHA256) libressl-2.3.4-relnotes.txt: FAILED
(SHA256) libressl-2.3.4-windows.zip: FAILED
(SHA256) libressl-2.3.4.tar.gz: FAILED
(SHA256) libressl-2.3.5-relnotes.txt: FAILED
(SHA256) libressl-2.3.5-windows.zip: FAILED
(SHA256) libressl-2.3.5.tar.gz: FAILED
(SHA256) libressl-2.3.6-relnotes.txt: FAILED
(SHA256) libressl-2.3.6-windows.zip: FAILED
(SHA256) libressl-2.3.6.tar.gz: FAILED
(SHA256) libressl-2.3.7-relnotes.txt: FAILED
(SHA256) libressl-2.3.7-windows.zip: FAILED
(SHA256) libressl-2.3.7.tar.gz: FAILED
(SHA256) libressl-2.3.8-relnotes.txt: FAILED
(SHA256) libressl-2.3.8-windows.zip: FAILED
(SHA256) libressl-2.3.8.tar.gz: FAILED
(SHA256) libressl-2.3.9-relnotes.txt: FAILED
(SHA256) libressl-2.3.9-windows.zip: FAILED
(SHA256) libressl-2.3.9.tar.gz: FAILED
(SHA256) libressl-2.4.0-relnotes.txt: FAILED
(SHA256) libressl-2.4.0-windows.zip: FAILED
(SHA256) libressl-2.4.0.tar.gz: FAILED
(SHA256) libressl-2.4.1-relnotes.txt: FAILED
(SHA256) libressl-2.4.1-windows.zip: FAILED
(SHA256) libressl-2.4.1.tar.gz: FAILED
(SHA256) libressl-2.4.2-relnotes.txt: FAILED
(SHA256) libressl-2.4.2-windows.zip: FAILED
(SHA256) libressl-2.4.2.tar.gz: FAILED
(SHA256) libressl-2.4.3-relnotes.txt: FAILED
(SHA256) libressl-2.4.3-windows.zip: FAILED
(SHA256) libressl-2.4.3.tar.gz: FAILED
(SHA256) libressl-2.4.4-relnotes.txt: FAILED
(SHA256) libressl-2.4.4-windows.zip: FAILED
(SHA256) libressl-2.4.4.tar.gz: FAILED
(SHA256) libressl-2.4.5-relnotes.txt: FAILED
(SHA256) libressl-2.4.5-windows.zip: FAILED
(SHA256) libressl-2.4.5.tar.gz: FAILED
(SHA256) libressl-2.5.0-relnotes.txt: FAILED
(SHA256) libressl-2.5.0-windows.zip: FAILED
(SHA256) libressl-2.5.0.tar.gz: FAILED
(SHA256) libressl-2.5.1-relnotes.txt: FAILED
(SHA256) libressl-2.5.1-windows.zip: FAILED
(SHA256) libressl-2.5.1.tar.gz: FAILED
(SHA256) libressl-2.5.2-relnotes.txt: FAILED
(SHA256) libressl-2.5.2-windows.zip: FAILED
(SHA256) libressl-2.5.2.tar.gz: FAILED
(SHA256) libressl-2.5.3-relnotes.txt: FAILED
(SHA256) libressl-2.5.3-windows.zip: FAILED
(SHA256) libressl-2.5.3.tar.gz: FAILED
(SHA256) libressl-2.5.4-relnotes.txt: FAILED
(SHA256) libressl-2.5.4-windows.zip: FAILED
(SHA256) libressl-2.5.4.tar.gz: FAILED
(SHA256) libressl-2.5.5-relnotes.txt: FAILED
(SHA256) libressl-2.5.5-windows.zip: FAILED
(SHA256) libressl-2.5.5.tar.gz: FAILED
(SHA256) libressl-2.6.0-relnotes.txt: FAILED
(SHA256) libressl-2.6.0.tar.gz: FAILED
(SHA256) libressl-2.6.1-relnotes.txt: FAILED
(SHA256) libressl-2.6.1.tar.gz: FAILED
(SHA256) libressl-2.6.2-relnotes.txt: FAILED
(SHA256) libressl-2.6.2.tar.gz: FAILED
(SHA256) libressl-2.6.3-relnotes.txt: FAILED
(SHA256) libressl-2.6.3.tar.gz: FAILED
(SHA256) libressl-2.6.4-relnotes.txt: FAILED
(SHA256) libressl-2.6.4.tar.gz: FAILED
(SHA256) libressl-2.6.5-relnotes.txt: FAILED
(SHA256) libressl-2.6.5.tar.gz: FAILED
(SHA256) libressl-2.7.0-relnotes.txt: FAILED
(SHA256) libressl-2.7.0.tar.gz: FAILED
(SHA256) libressl-2.7.1-relnotes.txt: FAILED
(SHA256) libressl-2.7.1.tar.gz: FAILED
(SHA256) libressl-2.7.2-relnotes.txt: FAILED
(SHA256) libressl-2.7.2.tar.gz: FAILED
(SHA256) libressl-2.7.3-relnotes.txt: FAILED
(SHA256) libressl-2.7.3.tar.gz: FAILED
(SHA256) libressl-2.7.4-relnotes.txt: FAILED
(SHA256) libressl-2.7.4.tar.gz: FAILED
(SHA256) libressl-2.7.5-relnotes.txt: FAILED
(SHA256) libressl-2.7.5.tar.gz: FAILED
(SHA256) libressl-2.8.0-relnotes.txt: FAILED
(SHA256) libressl-2.8.0.tar.gz: FAILED
(SHA256) libressl-2.8.1-relnotes.txt: FAILED
(SHA256) libressl-2.8.1.tar.gz: FAILED
(SHA256) libressl-2.8.2-relnotes.txt: FAILED
(SHA256) libressl-2.8.2.tar.gz: FAILED
(SHA256) libressl-2.8.3-relnotes.txt: FAILED
(SHA256) libressl-2.8.3.tar.gz: FAILED
(SHA256) libressl-2.9.0-relnotes.txt: FAILED
(SHA256) libressl-2.9.0.tar.gz: FAILED
(SHA256) libressl-2.9.1-relnotes.txt: FAILED
(SHA256) libressl-2.9.1.tar.gz: FAILED
(SHA256) libressl-2.9.2-relnotes.txt: FAILED
(SHA256) libressl-2.9.2.tar.gz: FAILED
(SHA256) libressl-3.0.0-relnotes.txt: FAILED
(SHA256) libressl-3.0.0.tar.gz: FAILED
(SHA256) libressl-3.0.1-relnotes.txt: FAILED
(SHA256) libressl-3.0.1.tar.gz: FAILED
(SHA256) libressl.asc: FAILED
(SHA256) libressl.pub: FAILED
Where you have to search a long list of failures looking for the absence
of your file to know that its ok.
vs
(SHA256) libressl-2.9.0.tar.gz: FAILED
(SHA256) libressl-2.9.1-relnotes.txt: FAILED
(SHA256) libressl-2.9.1.tar.gz: FAILED
(SHA256) libressl-2.9.2-relnotes.txt: FAILED
(SHA256) libressl-2.9.2.tar.gz: FAILED
(SHA256) libressl-3.0.0-relnotes.txt: FAILED
(SHA256) libressl-3.0.0.tar.gz: FAILED
(SHA256) libressl-3.0.1-relnotes.txt: FAILED
(SHA256) libressl-3.0.1.tar.gz: FAILED
(SHA256) libressl-3.0.2-relnotes.txt: PASSED
(SHA256) libressl-3.0.2.tar.gz: PASSED
(SHA256) libressl.asc: FAILED
(SHA256) libressl.pub: FAILED
Perhaps adding a -C switch for MISSING/OK/FAILED messages and -c stays
the same? I don't think someone should have to write a script for
testing file integrity.
Edgar
Home |
Main Index |
Thread Index |
Old Index