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

split: passing GNU test r-chunk.sh #5580

Merged
merged 3 commits into from
Nov 28, 2023
Merged

Conversation

zhitkoff
Copy link
Contributor

@zhitkoff zhitkoff commented Nov 25, 2023

Pass GNU test tests/split/r-chunk.sh
Implement handling system limit on open files (ulimit -n) following the same approach as in GNU split, i.e. running up to the limit, catch an error on instantiating next writer to a file, closing one of the existing writers to free up resources and re-trying to instantiate a writer again, including tracking new vs. append to previously created and closed writers.
Tests.

Copy link

github-actions bot commented Nov 25, 2023

GNU testsuite comparison:

Congrats! The gnu test tests/split/r-chunk is no longer failing!

@zhitkoff
Copy link
Contributor Author

@sylvestre @tertsdiepraam would you mind taking a look at this one? It should complete split GNU test compliance

@sylvestre
Copy link
Contributor

terrific, bravo :)

@sylvestre sylvestre merged commit b5ce876 into uutils:main Nov 28, 2023
50 of 53 checks passed
@zhitkoff zhitkoff deleted the split-r-chunk branch December 3, 2023 21:07
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.

2 participants