uutils
diffutils
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
chore(deps): update github artifact actions
renovate/major-github-artifact-actions
4 hours ago
chore(deps): update actions/checkout action to v6
renovate/actions-checkout-6.x
4 hours ago
*.yml: dedup env:
main
4 hours ago
chore: add COPYRIGHT file and update license references - move copyright information from LICENSE-* files to COPYRIGHT - use some improved wording used by the Rust project
main
4 hours ago
Add SECURITY.md Copied from https://github.com/uutils/coreutils/blob/5e974797bd8050c2d425a706670254ad0323404d/SECURITY.md Co-authored-by: Sylvestre Ledru <sylvestre@debian.org> Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
main
4 hours ago
tests: validate "patch" and "ed" commands once, print meaningful messages macOS' /usr/bin/patch and GNU patch have very subtle incompatibilities that cause only some "more advanced" tests to fail in obscure and very time-consuming ways - while other tests pass. In some cases (depending on test threads racing), the lack of newlines in some test data even causes the whole test suite to stall. This fix runs `patch -version` (only once), makes sure the output starts with "GNU patch" and shows a meaningful assert message when not. It also looks for `gpatch` instead of `patch` on macOS and shows a meaningful assert message if either is missing. Fixes: #225 This also provides faster and better feedback when `ed` is missing (see #39) and implements a portable and basic check. Last but not least, this new code is generic enough to support the validation of any other test dependency in the future.
marc-hb:testcmds
2 days ago
tests: validate "patch" and "ed" commands once, print meaningful messages macOS' /usr/bin/patch and GNU patch have very subtle incompatibilities that cause only some "more advanced" tests to fail in obscure and very time-consuming ways - while other tests pass. In some cases (depending on test threads racing), the lack of newlines in some test data even causes the whole test suite to stall. This fix runs `patch -version` (only once), makes sure the output starts with "GNU patch" and shows a meaningful assert message when not. It also looks for `gpatch` instead of `patch` on macOS and shows a meaningful assert message if either is missing. Fixes: #TODO This also provides faster and better feedback when `ed` is missing (see #39) and implements a portable and basic check. Last but not least, this new code is generic enough to support the validation of any other test dependency in the future.
marc-hb:testcmds
3 days ago
tests: fix "old" names in generated patch files Fixes #223. Very simple reproduction ``` cd diffutils mkdir a touch a/alef a/alefn a/alef_ a/alefx a/alefr a/fuzz.file cargo test ``` => fail https://www.gnu.org/software/diffutils/manual/html_node/Multiple-Patches.html states that the "old" file name has precedence over the "new" filename. I hit this problem because some other (and unfortunately: unknown for now) test issue left bogus `a/alef*` file(s) behind in my workspace. I didn't bother cleaning them up because I assumed some test would keep recreating them and that cost me a lot of time. This issue seems to have existed since the very first commit. Interestingly, there as a previous attempt in 2024 to fix this in commit a3a372ff362992df3 ! So I was apparently not the only affected. BUT that fix was immediately reverted by commit ba7cb0aef9dcdeb19 in the same PR. Admittedly, that fix seemed somewhat off-topic in https://github.com/uutils/diffutils/pull/33. So here it is again.
marc-hb:old-names
4 days ago
Latest Branches
CodSpeed Performance Gauge
0%
chore(deps): update github artifact actions (major)
#144
4 hours ago
41f9865
renovate/major-github-artifact-actions
CodSpeed Performance Gauge
0%
chore(deps): update actions/checkout action to v6
#145
4 hours ago
03eb3f3
renovate/actions-checkout-6.x
CodSpeed Performance Gauge
0%
tests: validate "patch" and "ed" commands once, print meaningful messages
#226
3 days ago
05c139b
marc-hb:testcmds
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs