coreutils/tests
Sylvestre Ledru 2c83b28d18 hashsum: improve the file verification algo.
We have 3 different kinds of input:
* "algo (filename) = checksum"
  example: `BLAKE2 (a) = bedfbb90d858c2d67b7ee8f7523be3d3b54004ef9e4f02f2ad79a1d05bfdfe49b81e3c92ebf99b504102b6bf003fa342587f5b3124c205f55204e8c4b4ce7d7c`
* "checksum  filename"
  example: `60b725f10c9c85c70d97880dfe8191b3  a`
* "checksum filename"
  example: `60b725f10c9c85c70d97880dfe8191b3 a`

These algo/regexp are tricky as files can be called "a, " b", " ", or "*c".
We look at the first time to analyze the kind of input and reuse the same regexp then.
2024-05-29 09:08:04 +02:00
..
benches/factor use num_prime for factorisation to fix gnu test 2024-04-21 11:24:25 +02:00
by-util hashsum: improve the file verification algo. 2024-05-29 09:08:04 +02:00
common tests: fix some clippy warnings 2024-05-25 09:06:16 +02:00
fixtures cksum/blake2b: improve the error management 2024-05-14 23:21:56 +02:00
test_util_name.rs tests: fix some clippy warnings 2024-05-25 09:06:16 +02:00
tests.rs relpath: remove 2023-10-04 16:13:06 +02:00