sort: gnu coreutils compatibility (sort.pl)#9862
Conversation
|
GNU testsuite comparison: |
|
it regressed a test |
| fn test_keys_invalid_field() { | ||
| new_ucmd!() | ||
| .args(&["-k", "1."]) | ||
| .fails() |
There was a problem hiding this comment.
I'd love to add .matches_gnu() to these: #9660
Its harder to review manually to validate that these tests are made in a way that matches the original.
|
GNU testsuite comparison: |
1 similar comment
|
GNU testsuite comparison: |
|
Some jobs are failing |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
this huge pr is hard to review :( |
split the PR. |
|
split |
|
GNU testsuite comparison: |
4cf08a9 to
dc2952d
Compare
|
GNU testsuite comparison: |
c054594 to
a209604
Compare
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
a209604 to
404c223
Compare
Modify sort command to permit multiple -o/--output flags specifying the same file, matching GNU sort behavior. Previously, any multiple -o flags would error, but now only differing output files are rejected. Added test case for duplicate outputs.
…tters Changed ascii_case_insensitive_cmp to fold characters to uppercase instead of lowercase, ensuring that in ASCII case-insensitive sorting, letters are ordered before punctuation. Added tests to verify the correct behavior.
404c223 to
3f16c72
Compare
|
GNU testsuite comparison: |
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
well done! |
We will make the necessary changes to ensure the GNU coreutils tests pass.