Commit Graph
266 Commits
Author SHA1 Message Date
Sylvestre Ledru 7405404800 tests: remove pr fixture files copied verbatim from GNU coreutils
Remove FnFn, tFFt-ll, 0Ft, 0Fnt from tests/fixtures/pr/. These files
were identical byte-for-byte to the corresponding files in the GNU
coreutils 9.11 test suite (tests/pr/) and were not referenced by any
Rust test. They appear to be leftover artifacts from an earlier import.
2026-08-20 18:48:10 +02:00
MuntasirSZN 997dda2b76 pr: omit page padding and separators when headers are disabled
With -t/-T or a page length too short for headers, GNU pr does not pad
the final page or emit page separators (extremities=false in pr.c). This
fixes output like 'pr -t -n70000' now matching GNU byte for byte.
2026-08-07 18:15:16 +02:00
oech3 954c983d5a test_install.rs: remove binaries from repo (#13159) 2026-06-28 18:59:17 +02:00
Daniel Hofstetter f50adada72 cut: support -O as short for --output-delimiter 2026-06-21 22:31:42 +02:00
ksgk1andDaniel Hofstetter b3d8706a2c sort: fix inconsistent sort ordering under i18n-collator with equal sorting keys (#12013)
* sort: Fix inconsistent sort orderg under i18n-collator with equal sorting keys.

* Test cases for fix #11980

* Simplyfing fix for #11980

* Fix clippy lint and rename test files.

* Remove old test files

* Update tests/by-util/test_sort.rs

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* Update tests/by-util/test_sort.rs

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* Removing redundant test and swapping default order for sort to match sort's ordering.

* Comment for clarification.

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2026-04-30 10:33:48 +02:00
Dorian Péron 7fb2bf0db4 test(cksum): add regular tests for blake3 2026-03-25 16:51:37 +01:00
oech3 cde1354332 Remove hashsum files 2026-02-24 09:15:41 +01:00
cerdelen 42e3ab6e49 pr: implement the -e flag (#10167)
* pr: new functionality: expand-tabs + tests

pr: rebase

* pr: pipe test input instead of using files

* pr: parameterize tests
2026-02-14 10:10:43 -08:00
oech3 8e5966300b cat: strip errno (#10885) 2026-02-12 03:27:17 -08:00
Kaua KlassmannandSylvestre Ledru 808865e4ac fix: scientific notation is incorrectly parsed in general numeric sort (#10437)
* fix: scientific notation is incorrectly parsed in general sort

* test(sort): refactor exponents_positive_general test

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2026-02-12 02:52:22 -08:00
Sylvestre Ledru 1f4a976a92 Revert "unexpand: use buffered read & improve performance by 34.66% (#10798)" (#10819)
This reverts commit 4bbd71fffb.
2026-02-08 16:14:09 +01:00
cerdelen 4bbd71fffb unexpand: use buffered read & improve performance by 34.66% (#10798) 2026-02-08 15:16:19 +01:00
Dorian Péron 9459361524 Merge branch 'main' into hashsum-del-pre 2026-02-05 15:02:12 +01:00
Aaron Ang c9c78b2415 chore: run pre-commit on all files (#10119) 2026-02-04 22:12:53 +01:00
Cedric Erdelen 0400116af8 expand: use chunking read calls
expand: Edgecase fix

expand: spelling error in comment

expand: use byte literals instead of hex values for better readability
2026-02-03 21:16:34 +01:00
oech3 a010e0192d Remove the word: hashsums 2026-02-03 16:17:59 +09:00
mattsu ce96a263c8 fix(tests): correct sorting order of decimal values in numeric sort fixture
Update the expected output for the multiple decimals numeric sort test to reflect the proper ascending order. The values "576,446.88800000" and "576,446.890" were misplaced and have been repositioned to their correct locations in the sorted sequence, ensuring the test accurately validates the sorting logic. The debug fixture was updated accordingly.
2026-02-01 22:34:06 +01:00
mattsu b1b2a198e5 i18n: treat C locale as no grouping separator 2026-02-01 22:34:06 +01:00
Dorian Peron 70c37a72ad sha512sum: introduce standalone binary 2026-01-28 10:14:14 +01:00
Dorian Peron 417c424213 sha384sum: introduce standalone binary 2026-01-28 10:14:12 +01:00
Dorian Peron 928ca15251 sha256sum: introduce standalone binary 2026-01-28 10:14:10 +01:00
Dorian Peron e5f72019d2 sha224sum: introduce standalone binary 2026-01-28 10:14:07 +01:00
Dorian Peron 6aa5b1fe66 sha1sum: introduce standalone binary 2026-01-28 10:14:03 +01:00
Dorian Peron d22c7e14ec b2sum: introduce standalone binary 2026-01-28 10:14:01 +01:00
Dorian Peron a968342d42 md5sum: introduce standalone binary 2026-01-28 10:13:57 +01:00