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

ls: use try_get_matches_from instead of get_matches_from #5446

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

cakebaker
Copy link
Contributor

This PR replaces get_matches_from with try_get_matches_from to adapt clap's exit code. It makes https://github.com/coreutils/coreutils/blob/master/tests/ls/classify.sh pass and replaces #5437

get_matches_from to replace clap's exit code
Copy link
Member

@tertsdiepraam tertsdiepraam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was sure I got all of these at some point, but apparently not 😄

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/ls/classify is no longer failing!
GNU test failed: tests/ls/zero-option. tests/ls/zero-option is passing on 'main'. Maybe you have to rebase?

@cakebaker
Copy link
Contributor Author

In the latest push I added a fix to make tests/ls/zero-option pass again.

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/ls/classify is no longer failing!

@tertsdiepraam tertsdiepraam merged commit 96d0830 into uutils:main Oct 25, 2023
@cakebaker cakebaker deleted the ls_try_get_matches_from branch October 25, 2023 09:35
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