Conversation
|
GNU testsuite comparison: |
|
Could you please add tests to make sure we don't regress in the future? Thanks |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
08769f4 to
cbb156c
Compare
|
please move the --debug implementation in a different PR |
|
sr, i missed pushing the commit from 8949 to 8948 🤡 |
|
GNU testsuite comparison: |
sylvestre
left a comment
There was a problem hiding this comment.
still need --debug move away
9016b78 to
514291d
Compare
CodSpeed Performance ReportMerging #8948 will not alter performanceComparing Summary
Footnotes
|
c177dec to
d2ee583
Compare
|
GNU testsuite comparison: |
3a9e52b to
6b1cf16
Compare
|
GNU testsuite comparison: |
1 similar comment
|
GNU testsuite comparison: |
dcb966d to
fd5840a
Compare
|
GNU testsuite comparison: |
| } | ||
|
|
||
| #[test] | ||
| fn test_sha3_with_length() { |
There was a problem hiding this comment.
This functionality is already tested by test_sha3_single_file.
…ack) - Remove test_sha3_with_length() - redundant with test_sha3_single_file() - Remove test_sha3_invalid_length() - redundant with test_sha_length_invalid() and test_sha_missing_length() - Remove test_sha3_untagged() - redundant with test_untagged_sha3_single_file() - Keep test_sha3_base64_output() - provides unique coverage for base64 output with SHA3 Addresses code review feedback from @cakebaker (Oct 31) on PR uutils#8948. All 134 tests pass with no regressions.
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
e92cfab to
204d05f
Compare
This commit consolidates all changes for SHA3/SHAKE algorithm support: Features: - Add SHA3 and SHAKE algorithm support to cksum - Support --length parameter for SHA3 (224, 256, 384, 512 bits) - Support --length parameter for SHAKE (any length) - Add base64 output support for SHA3/SHAKE Tests: - Add comprehensive test coverage for SHA3/SHAKE with various lengths - Add tests for base64 output format - Add tests for error cases (invalid lengths, missing length parameter) - Remove redundant test coverage Localization: - Update English and French locale files with SHA3/SHAKE descriptions Fixes PR uutils#8948 code review feedback from @cakebaker, @sylvestre, and @evilpie. All 134 tests pass with no regressions.
204d05f to
661934b
Compare
|
GNU testsuite comparison: |
This commit consolidates all changes for SHA3/SHAKE algorithm support: Features: - Add SHA3 and SHAKE algorithm support to cksum - Support --length parameter for SHA3 (224, 256, 384, 512 bits) - Support --length parameter for SHAKE (any length) - Add base64 output support for SHA3/SHAKE - Add --debug flag (no-op matching GNU behavior) Tests: - Add comprehensive test coverage for SHA3/SHAKE with various lengths - Add tests for base64 output format - Add tests for error cases (invalid lengths, missing length parameter) - Remove redundant test coverage Localization: - Update English and French locale files with SHA3/SHAKE descriptions Fixes PR uutils#8948 code review feedback from @cakebaker, @sylvestre, and @evilpie. All 134 tests pass with no regressions.
661934b to
dee3483
Compare
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
@naoNao89 do you want to still land this? thanks |
|
am here |
|
GNU testsuite comparison: |
|
Is this PR still active? |
This commit consolidates all changes for SHA3/SHAKE algorithm support: Features: - Add SHA3 and SHAKE algorithm support to cksum - Support --length parameter for SHA3 (224, 256, 384, 512 bits) - Support --length parameter for SHAKE (any length) - Add base64 output support for SHA3/SHAKE - Add --debug flag (no-op matching GNU behavior) Tests: - Add comprehensive test coverage for SHA3/SHAKE with various lengths - Add tests for base64 output format - Add tests for error cases (invalid lengths, missing length parameter) - Remove redundant test coverage Localization: - Update English and French locale files with SHA3/SHAKE descriptions Fixes PR uutils#8948 code review feedback from @cakebaker, @sylvestre, and @evilpie. All 134 tests pass with no regressions.
2e90544 to
c7b5914
Compare
|
😴 |
|
GNU testsuite comparison: |
This commit consolidates all changes for SHA3/SHAKE algorithm support: Features: - Add SHA3 and SHAKE algorithm support to cksum - Support --length parameter for SHA3 (224, 256, 384, 512 bits) - Support --length parameter for SHAKE (any length) - Add base64 output support for SHA3/SHAKE - Add --debug flag (no-op matching GNU behavior) Tests: - Add comprehensive test coverage for SHA3/SHAKE with various lengths - Add tests for base64 output format - Add tests for error cases (invalid lengths, missing length parameter) - Remove redundant test coverage Localization: - Update English and French locale files with SHA3/SHAKE descriptions Fixes PR uutils#8948 code review feedback from @cakebaker, @sylvestre, and @evilpie. All 134 tests pass with no regressions.
c7b5914 to
3495d31
Compare
|
GNU testsuite comparison: |
This commit consolidates all changes for SHA3/SHAKE algorithm support: Features: - Add SHA3 and SHAKE algorithm support to cksum - Support --length parameter for SHA3 (224, 256, 384, 512 bits) - Support --length parameter for SHAKE (any length) - Add base64 output support for SHA3/SHAKE - Add --debug flag (no-op matching GNU behavior) Tests: - Add comprehensive test coverage for SHA3/SHAKE with various lengths - Add tests for base64 output format - Add tests for error cases (invalid lengths, missing length parameter) - Remove redundant test coverage Localization: - Update English and French locale files with SHA3/SHAKE descriptions Fixes PR uutils#8948 code review feedback from @cakebaker, @sylvestre, and @evilpie. All 134 tests pass with no regressions.
3495d31 to
3583fd9
Compare
|
Closing this PR as all tests already exist. Thanks anyway. |
Add comprehensive tests for SHA3/SHAKE algorithm support
This PR adds comprehensive test coverage for SHA3 and SHAKE algorithms with the --length parameter.
The SHA3/SHAKE implementation was already merged into main. This PR ensures the algorithms are properly tested with various length parameters and edge cases.
Fixes #8933 (test coverage aspect)