-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: Add --raw argument #5803
Conversation
Could you please add tests in https://github.com/uutils/coreutils/blob/main/tests/by-util/test_cksum.rs ? thanks |
I added the tests, but I have a problem with |
I think you forgot to commit the |
GNU testsuite comparison:
|
Now I made it to work for the other algorithms but it has problems for |
GNU testsuite comparison:
|
GNU testsuite comparison:
|
GNU testsuite comparison:
|
Is this fixed now? The code looks good to me. |
Yes, I fixed it and I think it works fine now. |
kudos for |
Should close #5708
This adds the
--raw
argument. I also added the CkSumError enum to handle error of RawMultipleFiles.--raw
emit a raw binary digest, not hexadecimal