coreutils/tests
karanabe 364d9e9dff
basenc: Fix basenc.pl GNU-compat tests pass (#9203)
* fix(basenc): align base32 decode with GNU

* Add GNU-style basenc base32 tests

* Expand basenc base32 tests and simplify failures

Adds the GNU-style auto-padding/truncated cases to
tests/by-util/test_basenc.rs and rewrites the failure assertions to use
the chained fails().stdout_*(…).stderr_is(…) style for clarity.

* Restore GNU expectations for b32h_5 and b32h_6

Updates util/build-gnu.sh to stop forcing those two basenc tests to
expect empty stdout, so the GNU suite again checks for the leaked five
bytes before failure.

* Allow base32 decoder to auto-pad truncated blocks

Introduce PadResult, trim/pad incomplete base32 chunks, emit decoded
prefixes, and still return error: invalid input in line with GNU basenc.
2025-11-10 19:13:51 +01:00
..
benches/factor chore: cleanup unused dependencies 2025-07-02 19:47:23 -04:00
by-util basenc: Fix basenc.pl GNU-compat tests pass (#9203) 2025-11-10 19:13:51 +01:00
fixtures fix(cksum): correct CRC32B implementation to match GNU cksum 2025-11-03 10:51:09 +01:00
uudoc Add example to manpage (#7841) 2025-11-07 23:47:32 +01:00
uutests Merge pull request #9097 from cakebaker/rustdoc_fix_link 2025-11-02 14:03:23 +01:00
test_localization_and_colors.rs clap/locale: fix the colors for all programs (Closes: #8501) 2025-09-05 08:25:59 +02:00
test_util_name.rs uudoc: move manpage generation away from the binary 2025-10-22 01:17:08 -07:00
tests.rs uudoc: move manpage generation away from the binary 2025-10-22 01:17:08 -07:00