| 95d3044b | 25-Jun-2021 |
Stefan Eßer <[email protected]> |
sbin/md5: fix test case to not write outside temp directory
The bsd-p-test did create files 1.out .. 8.out in the test directory. This has been fixed and the temporary output files are now written t
sbin/md5: fix test case to not write outside temp directory
The bsd-p-test did create files 1.out .. 8.out in the test directory. This has been fixed and the temporary output files are now written to the temporary directory.
MFC after: 3 days
show more ...
|
| c2870e57 | 25-Jun-2021 |
Stefan Eßer <[email protected]> |
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 t
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
show more ...
|