freebsd-dev/sbin/md5
Stefan Eßer c2870e576b sbin/md5: improve compatibility with coreutils -c option
The -c option expects a digest file in either BSD or coreutils format.

The output for matched and mismatched files is identical to that
of the coreutils version.

The review of these changes included test cases that have already
been committed for the functionality that existed before.
Another test script is added to cover the coreutils compatible
extension implemented by this patch.

This commit contains a tests/Makefile that has been cleaned up
compared to the review version, using an implicit rule to apply the
TESTBASE path at build time (and the scripts have been renamed to
have an extension of .SH instead of .sh to trigger this rule).

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D30812
2021-06-25 08:54:36 +02:00
..
tests sbin/md5: improve compatibility with coreutils -c option 2021-06-25 08:54:36 +02:00
Makefile sbin/md5: add tests 2021-06-25 08:51:40 +02:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
md5.1 sbin/md5: improve compatibility with coreutils -c option 2021-06-25 08:54:36 +02:00
md5.c sbin/md5: improve compatibility with coreutils -c option 2021-06-25 08:54:36 +02:00