sort: make compression program failures non-fatal, warn and fallback to plain files#9266
Conversation
CodSpeed Performance ReportMerging #9266 will degrade performances by 4.43%Comparing Summary
Benchmarks breakdown
Footnotes
|
|
GNU testsuite comparison: |
e011ef1 to
1d53599
Compare
|
GNU testsuite comparison: |
1d53599 to
a799db8
Compare
|
GNU testsuite comparison: |
There was a problem hiding this comment.
The code for Windows and non-Windows is identical, except of the expected error message, and so I would make only the expected error message platform-dependent. Another option would be to use the same error message on all platforms, so you don't have to care on which platform the test is run.
tests/by-util/test_sort.rs
Outdated
| ]) | ||
| .succeeds(); | ||
|
|
||
| // Check that it prints the error message to stderr |
There was a problem hiding this comment.
The comment is obvious.
| // Check that it prints the error message to stderr |
…to plain files Should fix tests/sort/sort-compress.sh
a799db8 to
09e1aa1
Compare
|
GNU testsuite comparison: |
Great, kudos :) |
Should fix tests/sort/sort-compress.sh