Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cksum: fix error message when the flags length and an algorithm different from blake2b are present #7071

Merged
merged 2 commits into from
Jan 4, 2025

Conversation

Felle33
Copy link
Contributor

@Felle33 Felle33 commented Jan 4, 2025

The code fix the error message: first the code controls if the flags length and algorithm blake2b are present, if not the error cksum: --length is only supported with --algorithm=blake2b.
I added a new test to cover this case.
Fix #7050

Copy link

github-actions bot commented Jan 4, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit b15bc84 into uutils:main Jan 4, 2025
64 of 65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cksum: Check --length before --check
2 participants