Skip to content

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

Merged
sylvestre merged 3 commits intouutils:mainfrom
zhitkoff:split-r-chunk
Nov 28, 2023
Merged

split: passing GNU test r-chunk.sh#5580
sylvestre merged 3 commits intouutils:mainfrom
zhitkoff:split-r-chunk

Conversation

@zhitkoff
Copy link
Copy Markdown
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.

@github-actions
Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

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

@sylvestre
Copy link
Copy Markdown
Contributor

terrific, bravo :)

@sylvestre sylvestre merged commit b5ce876 into uutils:main Nov 28, 2023
@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