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

sleep: customize one of the tests (tests/misc/sleep.sh) #3630

Merged
merged 3 commits into from
Jun 15, 2022

Conversation

sylvestre
Copy link
Contributor

No description provided.

@sylvestre
Copy link
Contributor Author

Warning: Congrats! The gnu test tests/misc/sleep is no longer failing!

@tertsdiepraam
Copy link
Member

I think we can still solve the exit code for sleep by changing this line:

let matches = uu_app().get_matches_from(args);

to

let matches = uu_app().try_get_matches_from(args)?;

That's probably better than changing the expected exit code. I do agree with the other customizations!

@sylvestre sylvestre requested a review from tertsdiepraam June 15, 2022 15:20
@tertsdiepraam tertsdiepraam merged commit bc4f193 into uutils:main Jun 15, 2022
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